top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

What Is Ng-Template In AngularJS?

+1 vote
41 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
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...