AngularJS routing doesn't support route authorization out of the box and nor does its popular cousin ui-router even though the latter supports state change cancellation with later continuation (using $urlRouter.sync()
; check documentation). But in non-trivial Angular SPAs this feature is regularly needed. So I went off implementing it.
Living in the coded world where bugs are inevitable and success is only optional. By Robert Koritnik
Google analytics script
Latest jQuery CDN with code tiggling.
Friday, 9 October 2015
Angular ngRoute routing authorization with asychronous promises
Subscribe to:
Posts (Atom)