Skip to content
New issue

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

Unknown provider: DriveProvider <- Drive #3

Open
Lemez opened this issue Jun 27, 2017 · 3 comments
Open

Unknown provider: DriveProvider <- Drive #3

Lemez opened this issue Jun 27, 2017 · 3 comments

Comments

@Lemez
Copy link

Lemez commented Jun 27, 2017

Unknown provider: DriveProvider <- Drive <- VideoController

Following the boilerplate installation, got this output:

angular.js:14110 Error: [$injector:unpr] Unknown provider: DriveProvider <- Drive <- VideoController
http://errors.angularjs.org/1.5.9/$injector/unpr?p0=DriveProvider%20%3C-%20Drive%20%3C-%20VideoController
at angular.js:68
at angular.js:4554
at Object.getService [as get] (angular.js:4707)
at angular.js:4559
at getService (angular.js:4707)
at injectionArgs (angular.js:4732)
at Object.invoke (angular.js:4754)
at $controllerInit (angular.js:10518)
at nodeLinkFn (angular.js:9416)
at compositeLinkFn (angular.js:8757)

app.js

var app = angular.module('MyApp',['MyApp.services']);
angular.module('app', [
'angularGAPI'
]);

@BerndSchrooten
Copy link
Member

Thanks for submitting the issue @Lemez. I will have a look at it as soon as I can.

@BerndSchrooten
Copy link
Member

Hi @Lemez
I think you have an error in your module declaration.
Try: var app = angular.module('MyApp',['MyApp.services', 'angularGAPI']);

I updated the readme to use 'MyApp' more consistent.

@Lemez
Copy link
Author

Lemez commented Jul 24, 2017

Thanks, will check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants