Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ui-bootsrap $uibModal service throwing major shade #922

Closed
beatelite opened this issue Feb 5, 2016 · 6 comments
Closed

ui-bootsrap $uibModal service throwing major shade #922

beatelite opened this issue Feb 5, 2016 · 6 comments

Comments

@beatelite
Copy link

Summary:
Trying to get a modal in my custom page to work but getting error

Reproduction Steps:
I injected $uibModal into my directive's controller, loaded the ui-bootstrap/ng-animate scripts and required the ui-boostrap and ng-animate on the app as a dependency to my angular app.

Current results:
I keep getting this error:
Error: [$injector:unpr] Unknown provider: $animateCssProvider <- $animateCss <- $uibModalStack <- $uibModal

Looks like it's related to ng-animate requiring angularjs 1.4.+

I saw that you're working on updating to require angular 1.4.+ here #567 Is that coming out soon or should I unbundle all of ng-admin, load angular myself and then redeclare all the ng-admin dependancies? Which I can do but seems like overkill if you have the move coming soon.

@fzaninotto
Copy link
Member

Angular 1.4 is not yet supported. Compatibility is on top of our todo list, but I can't give you an estimate date.

@d1b1
Copy link

d1b1 commented Feb 23, 2016

+1 Ran into the same problem trying to use angular modal service. Tried to unbundle and found it lead to a range of version issues.

@d1b1
Copy link

d1b1 commented Feb 25, 2016

Is there a roadmap of coming features? I am working around the angular version issue that prevents ngAnimate from working.

@alexisjanvier
Copy link
Contributor

The master branch of ng-admin now uses angular 1.4. I updated ui-bootstrap in the PR #957 and I'll try to implement $uibModal very soon.

@alexisjanvier
Copy link
Contributor

I tested the ui-modal on ng-admin with an updated ui-bootstrap. It seems working on my side.

@fzaninotto
Copy link
Member

#947 fixes the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants