Restless Architecture for AngularJS - Security Interceptor