Implementing User Roles in the AngularJS project