minor: could use angular.noop here.