diff --git a/src/ng/animate.js b/src/ng/animate.js index 88e0e160592c..af6f7dfc750c 100644 --- a/src/ng/animate.js +++ b/src/ng/animate.js @@ -338,8 +338,8 @@ var $AnimateProvider = ['$provide', function($provide) { * // remove all the animation event listeners listening for `enter` on the given element and its children * $animate.off('enter', container); * - * // remove the event listener function provided by `listenerFn` that is set - * // to listen for `enter` on the given `element` as well as its children + * // remove the event listener function provided by `callback` that is set + * // to listen for `enter` on the given `container` as well as its children * $animate.off('enter', container, callback); * ``` *