btford / btford/angular-socket-io

ReadMe is misguiding

Open
#74 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.5k
Forks
225
PR merge metrics
No merged PRs in 30d

Description

When I tried to configure the `socketProvider` as explained in the doc I got an error message `injector:modulerr`.

```
angular.module('myApp', [
'btford.socket-io'
]).
config(function (socketProvider) {
socketProvider.prefix('');
});
```

When I tried `socketFactoryProvider` instead, the `injector:modulerr` error seems gone but the `prefix` and other methods mentioned in readme are `undefined`. I found the doc misguiding. Am I doing something wrong, how can I get it work ??

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.