I have made slight changes in it and it's worked.
I have just moved the code of adding angular library reference from 
template1.html to index.html.
Check this https://plnkr.co/edit/40qNE8wdbtYXwQ3bZwr4?p=preview


On Wednesday, 12 October 2016 16:19:39 UTC+5:30, Mn Kishore wrote:
> down votefavorite 
> <http://stackoverflow.com/questions/39996635/loading-angularjs-template-is-failing#>
> Can any one help me why my angular js template (template1.html) is not 
> loading while I am including all my angularjs script loading in 
> template1.html itself. Through jquery I am clicking button then I need to 
> load angularjs template. All the angularjs script file inclusion and the 
> controller definiton  is done in template1.html ony. I am using manual 
> bootstraping here. You can find the plunker 
> <https://plnkr.co/edit/JTqjTJSpTTvgF6z7zAuv?p=preview>
>  <script type="text/javascript">
>     $(function() {
>         $('#loadBtn').on("click", function(e) {
>             e.preventDefault();
>             $("#content").load("template1.html");
>         });
>     });</script>

You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to