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.
Asked
Active
Viewed 2,059 times
1
-
please post an example – matt b Feb 11 '13 at 15:23
-
Seems to be duplicate of this question http://stackoverflow.com/questions/12197880/angularjs-how-to-make-angular-load-script-inside-ng-include – Chandermani Feb 11 '13 at 15:58
1 Answers
2
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.

Valentyn Shybanov
- 19,331
- 7
- 66
- 59
-
2This solution works for angular v1.0.7 but does not work for v1.2.0rc1. Have not found a workaround yet. – Peter Johnson Sep 12 '13 at 13:41
-
There is already issue for that: https://github.com/angular/angular.js/issues/3756 Should be fixed soon.... – Valentyn Shybanov Sep 18 '13 at 09:34