mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-05-07 03:37:17 +02:00
Merge pull request #710 from mleanos/Chat-Missing-Auth-DI
Add missing dependency injection in Chat
This commit is contained in:
@@ -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 = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user