-
Notifications
You must be signed in to change notification settings - Fork 6.7k
0.13.0 does not work with async loading #3665
Comments
Please provide a plunkr reproducing this problem. |
I forgot to say that this only happens when using |
This seems like something @chrisirhc was involved with. Perhaps he can take a look. |
Looking into it, this seems like a question suitable for StackOverflow. It's not actually a bug with this library, it's an issue you have when using this library in a certain manner that we don't support out of the box. Indeed, one could expect UI Bootstrap to work in this situation and it would help if we implement a fix for it but basically this is an enhancement request instead of a bug. |
AngularJS module system supports out-of-order loading by default (using the official async loader), this only happens because |
I recently updated from 0.12.x to 0.13.0 and I have a few errors, the first I found is in the last line of both
ui-bootstrap.js
andui-bootstrap-tpls.js
: the functionangular.$$csp()
is called possibly before Angular itself is loaded. I fixed this wrapping it in a modulerun
(and adding it to the dependencies in the first line):I'd gladly produce a PR but I don't understand from which source code is that line built. I also noticed it's also present in
angular.js
so maybe it could be avoided altogether?The text was updated successfully, but these errors were encountered: