Using angular.noop in a couple of places instead of function() {}