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 467
467
* anymore.)
468
468
*
469
469
* 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
471
471
* routing controller to hook into that:
472
472
*
473
473
* ```js
474
474
* ngModule.controller('HomePageController', ['$animate', function($animate) {
475
- * $animate.on('enter', '[ng-view]' , function(element) {
475
+ * $animate.on('enter', ngViewElement , function(element) {
476
476
* // the animation for this route has completed
477
477
* }]);
478
478
* }])
You can’t perform that action at this time.
0 commit comments