AngularJS 1.4.5 with ES6 is framework.

I am receiving following error while pushing interceptor into $httpprovider:
angular.js:68 Uncaught Error: [$injector:unpr] Unknown provider: 
AuthTokenProvider <- AuthToken <- AuthInterceptor <- $http <- $uiRouter
http://errors.angularjs.org/1.4.8/$injector/unpr?p0=AuthTokenProvider%20%3C-%20AuthToken%20%3C-%20AuthInterceptor%20%3C-%20%24http%20%3C-%20%24uiRouter
at angular.js:68
at angular.js:4334
at Object.getService [as get] (angular.js:4482)
at angular.js:4339
at getService (angular.js:4482)
at invoke (angular.js:4514)
at Object.instantiate (angular.js:4531)
at Object. (angular.js:4391)
at Object.invoke (angular.js:4523)
at Object.enforcedReturnValue [as $get] (angular.js:4375)

-- 
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.

Reply via email to