Hi Team,
In our project we are using minified angular js 1.6.1 and one of our custom
directive is giving console error as Error: [$injector:unpr]
http://errors.angularjs.org/1.6.1/$injector/unpr?p0=aProvider%20%3C-%20a%20%3C-%20onSlideFinishRenderDirective
. Please help us in providing the solution
code sample is given below
app.directive('onSlideFinishRender', function ($timeout) {
return {
restrict: 'A',
link: function (scope) {
if (scope.$last === true) {
$timeout(function () {
//scope.$emit('ngLocalSlidesFinished');
videosList.initHomeYoutubeAPICalls();
videosList.initFlexsliders();
});
}
}
}
});
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.