@mattvv Gave me this gist while I talked to him on angular irc. So essentially you just need to replace the routesecurity.js file in the routesecurity.js directory, assuming you used yoman to spoof your application.
A good thing is to simply create another file called routesecurity-ui-router.js instead of replacing the contents of routesecurity.js .
To give a little information about the essence, basically mattvv just changed the term routes and used state .
Joey hipolito
source share