IMHO, with the current model of Angular, is not possible. I was concerned about that situation. Because all my ui components are available for any kind of users no matter his privileges -a user only must access its proper ui views, and not of the rest- when someone use devtools from Firefox or Chrome he could see my ui components of the rest os views for which he doesn't have access.
I was thinking on Angular Universal but, still it is not completed. What can we do?! :( -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.