Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 35e53ca

Browse files
Andrey Sidorovmatsko
Andrey Sidorov
authored andcommitted
docs(guide): correct order of directive arguments within the animations chapter
Closes #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

+1-1
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)