Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Added missing dependency injection in Chat
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mleanos committed Jul 25, 2015
1 parent e1ca1aa commit 0fa9b95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/chat/client/controllers/chat.client.controller.js
Original file line number Diff line number Diff line change
@@ -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 = [];

Expand Down

0 comments on commit 0fa9b95

Please sign in to comment.