top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What Is Ng-Template In AngularJS?

+1 vote
467 views
What Is Ng-Template In AngularJS?
posted Dec 27, 2017 by Jdk

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

The ng-template directive in angularjs is used to load the content of a element into $templateCache

<script type="text/ng-template" id="home1.html">

</script>

<script type="text/ng-template" id="home2.html">

</script>
answer Dec 28, 2017 by Ujjwal Mehra
...