I am playing around with ui-router for AngularJS and was wondering if anyone out there could point me in the direction of securing routes based on authorization roles.
I have looked at the resolve object on the state, but it seems like I am looking in the wrong place.