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