angular-digest-auth
angular-digest-auth copied to clipboard
using scope in callback
Hello, how can use $scope in success or any callback, when i try to inject fails.
thanks.
I exactly don't know why it fails, the angular error would be very useful here. Anyway, you shouldn't use the $scope in the auth service. You should inject a service to route your application in a specific view and then use the scope.
We need detail step on signin process, i mean after run dgAuthService.start(), next : dgAuthService.setCredentials(user, password); dgAuthService.signin(); then : dgAuthServiceProvider.callbacks.login.push .... in this step are we get response ...
need easy sample for this library