diff --git a/templates/app/client/components/oauth-buttons(oauth)/index.js b/templates/app/client/components/oauth-buttons(oauth)/index.js index bfa3b6ec0..5b328d684 100644 --- a/templates/app/client/components/oauth-buttons(oauth)/index.js +++ b/templates/app/client/components/oauth-buttons(oauth)/index.js @@ -2,6 +2,7 @@ import angular from 'angular'; export function OauthButtonsController($window) { + 'ngInject'; this.loginOauth = function(provider) { $window.location.href = '/auth/' + provider; };