1

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.

2

1 Answer 1

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.

Sign up to request clarification or add additional context in comments.

2 Comments

This solution works for angular v1.0.7 but does not work for v1.2.0rc1. Have not found a workaround yet.
There is already issue for that: github.com/angular/angular.js/issues/3756 Should be fixed soon....

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.