Restless Architecture for AngularJS - Security Utils