From 0fa9b9579ad2ed80506dce1777509f0d299c5c94 Mon Sep 17 00:00:00 2001 From: mleanos Date: Sat, 25 Jul 2015 16:05:48 -0700 Subject: [PATCH] Added missing dependency injection in Chat During my last PR merge, the dependency injection for Authentication and $location weren't merged properly. I added them back to the Chat client controller. --- modules/chat/client/controllers/chat.client.controller.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/chat/client/controllers/chat.client.controller.js b/modules/chat/client/controllers/chat.client.controller.js index 615dfd9e75..8ce1c9e5c2 100644 --- a/modules/chat/client/controllers/chat.client.controller.js +++ b/modules/chat/client/controllers/chat.client.controller.js @@ -1,8 +1,8 @@ 'use strict'; // Create the 'chat' controller -angular.module('chat').controller('ChatController', ['$scope', 'Socket', - function($scope, Socket) { +angular.module('chat').controller('ChatController', ['$scope', '$location', 'Authentication', 'Socket', + function($scope, $location, Authentication, Socket) { // Create a messages array $scope.messages = [];