File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 467467 * anymore.)
468468 *
469469 * In addition to the animation promise, we can also make use of animation-related callbacks within our directives and controller code by registering
470- * an event listener using the `$animate` service. Let's say for example that an animation was triggered on our `ng- view` element and we wanted our
470+ * an event listener using the `$animate` service. Let's say for example that an animation was triggered on our view
471471 * routing controller to hook into that:
472472 *
473473 * ```js
474474 * ngModule.controller('HomePageController', ['$animate', function($animate) {
475- * $animate.on('enter', '[ng-view]' , function(element) {
475+ * $animate.on('enter', ngViewElement , function(element) {
476476 * // the animation for this route has completed
477477 * }]);
478478 * }])
You can’t perform that action at this time.
0 commit comments