Skip to content

Commit 35e53ca

Browse files
Andrey Sidorovmatsko
authored andcommitted
docs(guide): correct order of directive arguments within the animations chapter
Closes angular#7482
1 parent e927193 commit 35e53ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/guide/animations.ngdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ making calls to it when needed.
270270

271271
```js
272272
myModule.directive('my-directive', ['$animate', function($animate) {
273-
return function(element, scope, attrs) {
273+
return function(scope, element, attrs) {
274274
element.on('click', function() {
275275
if(element.hasClass('clicked')) {
276276
$animate.removeClass(element, 'clicked');

0 commit comments

Comments
 (0)