From 833a737bcd8670faddb9865b8837e754f6e810c1 Mon Sep 17 00:00:00 2001 From: Eduardo Roth Date: Mon, 5 Sep 2016 18:09:53 -0500 Subject: [PATCH] FIX: ISSUE #2206 OauthButtonsController is not using explicit annotation and cannot be invoked in strict mode --- templates/app/client/components/oauth-buttons(oauth)/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/app/client/components/oauth-buttons(oauth)/index.js b/templates/app/client/components/oauth-buttons(oauth)/index.js index bfa3b6ec0..b644c90b8 100644 --- a/templates/app/client/components/oauth-buttons(oauth)/index.js +++ b/templates/app/client/components/oauth-buttons(oauth)/index.js @@ -7,6 +7,8 @@ export function OauthButtonsController($window) { }; } +OauthButtonsController.$inject = ['$window']; + export default angular.module('<%= scriptAppName %>.oauthButtons', []) .directive('oauthButtons', function() { return {