Ramesh Kumar
Ramesh Kumar

Reputation: 31

AuthService is not available in AppCues for AngularJS

I am new to Appcues development and referring to the example given in this page for AngularJS.

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

enter image description here

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

Answers (1)

Sajeetharan
Sajeetharan

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

Related Questions