How can I do role based access for the pages using AngularJS? -
I want to have a role-based access to AngularJS pages.
The user should be shown on the basis of the roll page.
Can someone give me an example? Which should be the best solution.
The page is very easy to use depending on the role.
Now the roles for those pages are ng-if = "userrole == 'admin' "Or vice versa
Comments
Post a Comment