News for hackers. Stuff that matters.
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:

  if you select an element in DOM inspector in Chrome, 
  its scope will be accessible via $scope in the console
Another trick that I use daily: to get a reference to some service(or anything injectable for that matter) from the console:

  angular.element(document).injector().get('myService')
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.