- function in module ng
A function that performs no operations. This function can be useful when writing code in the functional style.
function foo(callback) { var result = calculateResult(); (callback || angular.noop)(result); }
Usage
angular.noop();
Please login to continue.