Reputation: 31
I am new to Appcues development and referring to the example given in this page for AngularJS.
I noticed that the AuthService is being used in the controller code but the AuthService is not provided anywhere. Due to this, the code is unable to infer the AuthService and it is not possible to load the page.
Could anyone suggest how AuthService should be inferred so that the page can be rendered?
Please let me know if I need to provide any specific details.
Thanks, Ramesh, INDIA
Upvotes: 1
Views: 244
Reputation: 222682
Your syntax for the controller is wrong, it should be, Remove the extra )
after the controller name
.controller('LoginController',function($scope,$rootScope,AUTH_EVENTS,AuthService){
}
Upvotes: 1