Empty function that performs no operation whatsoever. This function is useful when writing code in the functional style.
function foo(callback) { var result = calculateResult(); (callback || angular.noop)(result); }