Re:My love affair with AngularJS
by vladgur on Tuesday February 04, 2014 @06:15PM
(#7180892)
A very usefull hint I got from a MV AngularJS meetup few months ago:
Another trick that I use daily: to get a reference to some service(or anything injectable for that matter) from the console:
[ Parent
| on HN ]
Re:My love affair with AngularJS
by fantastical on Tuesday February 04, 2014 @09:51PM
(#7181620)
The first trick requires having the Angular Batarang installed, right? Still cool, I didn't know about that. I've been manually typing angular.element($0).scope() like a sucker.