Currently I am doing a project using angular js and bootstrap. And i am implementing some partial pages using ng-view to display those pages, but every time i am trying to using java script or jquery feature, the scripts seems not loaded, i have checked it is not a jquery conflicts problem. Please help me. Thanks in advance.
1 Answer
Try to put link to jQuery before AngularJS in your main page.
The reason could be that AngularJS's implementation of jQuery (JQLite) do not support <script> tags in partials yet. But if you put jQuery before AngularJS, Angular will use "real" jQuery, that has advanced implementation of Ajax requests and special handle <script> tags inside loaded HTML.
2 Comments
Peter Johnson
This solution works for angular v1.0.7 but does not work for v1.2.0rc1. Have not found a workaround yet.
Valentyn Shybanov
There is already issue for that: github.com/angular/angular.js/issues/3756 Should be fixed soon....