Open hanzal opened 8 years ago
Got it right after changed the
app.config(function($authProvider) {
to
app.config(["$authProvider",function($authProvider) {
please correct it in the examples you can read more in here : Dependency Injection
but still i cant get the link function running. it is not responding.
Its giving a error:
ReferenceError: $auth is not defined
i tried installing ng-token-auth but it still gives an error Please help me here
/This is the error i get:
and my code looks like this.
I have ngRoute installed. Please can you figure it out. I have imported satellizer before impoerting this file.