I'm trying to create a Service in AngularJS but the error is occurring: Error: [$ injector: unpr] Unknown provider: $ scopeProvider
I'm trying to create a Service in AngularJS but the error is occurring: Error: [$ injector: unpr] Unknown provider: $ scopeProvider
The error points to the lack of reference to the $scope
module. Make sure the reference is being properly injected.