You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 5, 2020. It is now read-only.
I just read some forums (see here and here) that say that, when angular is loaded before jQuery, it automatically loads its own jqLite library. This can cause problems.
This wiredep thread indicates that the best solution is to exclude jQuery from wiredep's auto-injection, and just explicitly put it into index.html. Not incidentally, this solution would mesh with the solution I am considering for an issue I ran into in the ml-lodlive-ng library. That issue could be solved by explicitly loading both jQuery and the original ml-lodlive library before wiredep's injection block.
The text was updated successfully, but these errors were encountered:
We solved it by putting jquery above angular in the bower.json dependencies. That seemed enough for all cases that I saw.. It also only matters in cases where jquery needs to interact with angular elements..
I just read some forums (see here and here) that say that, when angular is loaded before jQuery, it automatically loads its own jqLite library. This can cause problems.
This wiredep thread indicates that the best solution is to exclude jQuery from wiredep's auto-injection, and just explicitly put it into
index.html
. Not incidentally, this solution would mesh with the solution I am considering for an issue I ran into in theml-lodlive-ng
library. That issue could be solved by explicitly loading both jQuery and the originalml-lodlive
library before wiredep's injection block.The text was updated successfully, but these errors were encountered: