Skip to content

Commit

Permalink
fix(socket): add ngInject
Browse files Browse the repository at this point in the history
fixes #2203
  • Loading branch information
Awk34 authored Sep 6, 2016
1 parent de56f41 commit 16739ba
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import angular from 'angular';
import io from 'socket.io-client';

function Socket(socketFactory) {
'ngInject';
// socket.io now auto-configures its connection when we ommit a connection url
var ioSocket = io('', {
// Send auth token on connection, you will need to DI the Auth service above
Expand Down

0 comments on commit 16739ba

Please sign in to comment.