If I update my angular version to higher version I am sure it will work, but I am more depended on 1.3.20
version of angular.
I tried angular-bootstrap
version from 1.1
to the latest
, nothing works with the 1.3.20
. All I get is unknown provider.
This plunkr code works when you ment line 9 & unment line 10.
But it works nicely when 1.3.20's ngAnimate & angular version with angular-bootstrap
version 0.14.3 which is very old code.
How can I fix this issue without upgrading angular version?
If I can add $animateCss
provider explicitly does it work? but I doubt does it impact any other code.
I don't want to use angular-bootstrap's 0.14.3 since it is outdated.
If I update my angular version to higher version I am sure it will work, but I am more depended on 1.3.20
version of angular.
I tried angular-bootstrap
version from 1.1
to the latest
, nothing works with the 1.3.20
. All I get is unknown provider.
http://plnkr.co/edit/8TynLlehbEoJF4HY9o0S?p=preview
This plunkr code works when you ment line 9 & unment line 10.
But it works nicely when 1.3.20's ngAnimate & angular version with angular-bootstrap
version 0.14.3 which is very old code.
How can I fix this issue without upgrading angular version?
If I can add $animateCss
provider explicitly does it work? but I doubt does it impact any other code.
I don't want to use angular-bootstrap's 0.14.3 since it is outdated.
Share Improve this question edited Jan 28, 2017 at 0:51 Claies 22.3k4 gold badges55 silver badges80 bronze badges asked Nov 23, 2016 at 6:39 GarfieldGarfield 2,5354 gold badges34 silver badges55 bronze badges 2-
what is
animate.js
file? – Max Koretskyi Commented Nov 23, 2016 at 6:50 - I thought of patching $animateCss provider but I am not clear on how to make it work – Garfield Commented Nov 23, 2016 at 6:51
2 Answers
Reset to default 7From the documentation for Angular Bootstrap:
UI Bootstrap 1.0 and higher requires Angular 1.4.x or higher and it has been tested with Angular 1.4.8
UI Bootstrap 0.14.3 is the last version that supports Angular 1.3.x
You must downgrade or upgrade one or the other. You have no other option.
I have updated your code Please Check
it is working fine now
http://plnkr.co/edit/JTnaTm8vOMOVkouaEcde?p=preview
Previously you used older animate version I think..
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745251641a4618713.html
评论列表(0条)