Merge pull request #710 from mleanos/Chat-Missing-Auth-DI

Add missing dependency injection in Chat
This commit is contained in:
Ilan Biala
2015-07-25 22:44:31 -04:00

View File

@@ -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 = [];