ngTemplate allows to load the
An angularjs built-in directive used to load the <script>
element into the $templateCache
. So that can be used by the ng-include
, ng-view
and directives
Usage:
<script type="text/ng-template" id="tpl.html">
Content of the template.
</script>