This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
improve <script type="text/ng-template"> docs #5671
Closed
Description
http://docs.angularjs.org/api/ng.directive:script is broken:
- the demo is floating above the demo box
- the displayed demo code is incomplete
It would also be nice if "$templateCache" was a link to http://docs.angularjs.org/api/ng.$templateCache , which has some good information.
The question I came to the page with was: how do I specify an in-page template for my directive? The answer is templateUrl: 'id_of_script_tag_here', which I found by outside examples and guessing. (I thought it would be template: 'id_of_script_tag_here'.)