docs(modal): note angular template syntax regarding inline templates

This commit is contained in:
ruioliveiras
2014-09-04 22:28:36 +01:00
committed by Perry Govier
parent 6f4243255a
commit eba588337c

View File

@@ -11,10 +11,14 @@
*
* Put the content of the modal inside of an `<ion-modal-view>` element.
*
* Note: a modal will broadcast 'modal.shown', 'modal.hidden', and 'modal.removed' events from its originating
* **Notes:**
* - A modal will broadcast 'modal.shown', 'modal.hidden', and 'modal.removed' events from its originating
* scope, passing in itself as an event argument. Both the modal.removed and modal.hidden events are
* called when the modal is removed.
*
* - This example assumes your modal is in your main index file or another template file. If it is in its own
* template file, remove the script tags and call it by file name.
*
* @usage
* ```html
* <script id="my-modal.html" type="text/ng-template">