fraserxu / ionic-rating

An angularjs directive that take care of visualising a star rating bar
MIT License
142 stars 54 forks source link

error when running in strict-di mode #18

Closed ffabreti closed 8 years ago

ffabreti commented 9 years ago

I'm getting this error: https://docs.angularjs.org/error/$injector/strictdi?p0=RatingController

you should annotate your controller so your module can run on strict-di.

change to something like: .controller('RatingController', [ '$scope', '$attrs', 'ratingConfig', function($scope, $attrs, ratingConfig)

don't forget the closing ]

mapeveri commented 9 years ago

@fraserxu You can add this?. Thanks!

fraserxu commented 8 years ago

Updated! Thanks @mapeveri @ffabreti