Joined October 2013
·

Blake Miller

Glendale, California
·
·

Thank you for the helpful ideas!

This quote I like:
"These are just guidelines and cannot be used as copy/paste. You have to write your own code. This works in all AngularJS versions."

because it seems self-contradictory

I tried to use this pattern but spotted a little shortcoming to this approach, which is that the condition

next.indexOf(i) != -1

Seems to assume that the path is going to be a substring of the 'next' location, which will fail on a parameterized route, e.g. "/users/:name"

(unless I am missing something)

Achievements
78 Karma
0 Total ProTip Views