Implementing Application, Roles and Permissions view using AngularJS