diff --git a/app/scripts/directives/placeholder.js b/app/scripts/directives/placeholder.js index d890532..f98a182 100644 --- a/app/scripts/directives/placeholder.js +++ b/app/scripts/directives/placeholder.js @@ -7,11 +7,11 @@ scope: { placeholder: '=ngPlaceholder' }, - link: function (scope, elem, attr) { + link: function (scope, elem) { scope.$watch('placeholder', function () { elem[0].placeholder = scope.placeholder; }); } - } + }; }); })();