Question

I'm receiving this error trying to use the bsCheckboxDirective of AngularStrap:

error/$injector/unpr?p0=$$animateReflowProvider%20<-%20$$animateReflow%20<-%20bsCheckboxDirective

I suppose I'm missing some requirement but... Well, I ran out of ideas right now. Does anyone saw it before? Any tips? I haven't seen this $$animateReflow defined anywhere though...

Was it helpful?

Solution

Make sure you included all scripts listed in the quick start guide. Specifically, angular-animate must be included to supply the animateReflow service.

<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.10/angular.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.10/angular-animate.min.js"></script>
<script src="//rawgithub.com/mgcrea/angular-strap/master/dist/angular-strap.min.js"></script>  
<script src="//rawgithub.com/mgcrea/angular-strap/master/dist/angular-strap.tpl.min.js"></script>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top