From fde0478e4dbb814d4a2e28d425da53572d765434 Mon Sep 17 00:00:00 2001 From: Andrey Sidorov Date: Fri, 16 May 2014 00:43:31 -0700 Subject: [PATCH] docs(animations): directive arguments order --- docs/content/guide/animations.ngdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/guide/animations.ngdoc b/docs/content/guide/animations.ngdoc index 70942e7b8077..7fe9fcc0bd05 100644 --- a/docs/content/guide/animations.ngdoc +++ b/docs/content/guide/animations.ngdoc @@ -270,7 +270,7 @@ making calls to it when needed. ```js myModule.directive('my-directive', ['$animate', function($animate) { - return function(element, scope, attrs) { + return function(scope, element, attrs) { element.on('click', function() { if(element.hasClass('clicked')) { $animate.removeClass(element, 'clicked');