angular-message-socket
A WebSocket wrapper for Angular with Akka-style semantics.
Usage
App
var myAppModule = angular; myAppModule;
Configuration
myAppModule;
Testing
WebSocketBackend
is available for your mocking needs, inspired by $httpBackend
.
Just make dist/angular-message-socket-mocks.js available to your tests.
;
More examples of MessageSocket
and WebSocketBackend
can be found in test/spec/tests.js.
Development
Code quality is ensured with CoffeeScript, CoffeeLint, and Karma.
npm install -g grunt-clinpm install && bower installgrunt
Live Reloading
grunt karma:unit:start watch
Build
grunt dist