We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I wrote the unit test for my angular JS controller and It complained about
Error: [$injector:unpr] Unknown provider: DSProvider <- DS <- Users <- UserServices
I ran the unit test by the karma command: karma run test/karma.conf.js
Attached all of my directives, controller and my unit test DSProvider.zip
The text was updated successfully, but these errors were encountered:
Change this:
angular.module('ps.users.services', ['ngResource']);
to this:
angular.module('ps.users.services', ['ngResource', 'js-data']);
Sorry, something went wrong.
No branches or pull requests
I wrote the unit test for my angular JS controller and It complained about
Error: [$injector:unpr] Unknown provider: DSProvider <- DS <- Users <- UserServices
I ran the unit test by the karma command:
karma run test/karma.conf.js
Attached all of my directives, controller and my unit test
DSProvider.zip
The text was updated successfully, but these errors were encountered: