Update the angularjs externs to match the source code. See for an example where the callback function would be passed an iteration count.
@@ -1787,7 +1787,7 @@ angular.$interpolate;
/**
* @typedef {
- * function(function(), number=, number=, boolean=):!angular.$q.Promise
+ * function(function(number=), number=, number=, boolean=):!angular.$q.Promise
* }
*/
angular.$interval;
