angular/angular.js — Issue #643: make $location getters easily observable
Author: IgorMinar
Created: 2011-11-08 06:08:48+00:00
State: open

if we removed `this` references from $location getters, we could write scope.$watch($location.url, ..) instead of scope.$watch(function() { return $location.url() }, ...)

this should be a trivial change