Can someone help me understand how to work with $rootScope in a provider method? I'm unsure of how to properly inject it.
that.app.config ['$authProvider', ($authProvider) ->
$authProvider.configure
apiUrl: '/api/v1'
handleTokenValidationResponse: (response) ->
// Any suggestions for handling $rootScope within this context?
return response
]