Skip to content
This repository was archived by the owner on Jan 24, 2019. It is now read-only.

Commit 2c98a85

Browse files
committed
Merge pull request #128 from maxisam/patch-1
use array notation
2 parents 9b80176 + 414a4d6 commit 2c98a85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/scrollfix/scrollfix.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ angular.module('ui.scrollfix',[]).directive('uiScrollfix', ['$window', function
5050
}]).directive('uiScrollfixTarget', [function () {
5151
'use strict';
5252
return {
53-
controller: function($element) {
53+
controller: ['$element', function($element) {
5454
this.$element = $element;
55-
}
55+
}]
5656
};
5757
}]);

0 commit comments

Comments
 (0)