Joined September 2013
·
Cfccdf00acb76649add0727077e3a1c7

Guangyi-flyaway

Boston
·
·
·

Hi neeph,
I test it in Chrome, and if I use the first way, "value" in function(value) is undefined. But in the second way, it can return the current URL correctly.

Thank you, ktstowell!
I just started learning AngularJS, so it's really good to know!

Achievements
2,652 Karma
412,843 Total ProTip Views