Yes, of course that is possible. But this is only a behavioural flag. The real security relies in the communication with the API.
These are just guidelines and cannot be used as copy/paste. You have to write your own code. This works in all AngularJS versions.
Great article! Very useful :)
Hi krishyalla, I've made some improvements on that particular subject and I'll share them with you. I'll post it over the weekend. Thank you for reading my post ;)
EDIT: here it is https://coderwall.com/p/f6brkg
Awesome tip, thanks!