Joined September 2013
·

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
682,308 Total ProTip Views