Joined March 2013
·
Achievements
34 Karma
0 Total ProTip Views
Bear
Have at least one original repo where Objective-C is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Charity
Fork and commit to someone's open source project in need
What @blak3mill3r said.
Instead of creating a hook on $locationChangeStart, create a hook on $routeChangeStart, which is passed the next and current route.
This way you can simply access the requireLogin property, like this:
Hope this helps.