The ng-template directive in angularjs is used to load the content of a element into $templateCache
ng-template
<script type="text/ng-template" id="home1.html"> </script> <script type="text/ng-template" id="home2.html"> </script>