Skip to content

Commit b530695

Browse files
authored
fix(socket): add ngInject (#2208)
fixes #2203 [ci skip]
1 parent 9ce58e8 commit b530695

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: templates/app/client/components/socket(socketio)/socket.service.js

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import angular from 'angular';
44
import io from 'socket.io-client';
55

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

0 commit comments

Comments
 (0)