Role-Based Angular JS Client-Side Authentication and Authorization