Closed ffabreti closed 8 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)
.controller('RatingController', [ '$scope', '$attrs', 'ratingConfig', function($scope, $attrs, ratingConfig)
don't forget the closing ]
@fraserxu You can add this?. Thanks!
Updated! Thanks @mapeveri @ffabreti
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 ]