angular-shared-object

AngularJS SharedObject module for sharing data between clients using socket.io.

Added by: Sam Deering

GitHub

Repository

dam1r89/angular-shared-object

Stats

Stars: 0

Watchers: 0

Forks: 0

Module Description

#AngularJS SharedObject

AngularJS SharedObject module for sharing data between clients using socket.io.

#Examples

Start server with node index. It is working on port 8010.

Start demo app with grunt serve.

#Using shared object

You need to have angular-socket-wrapper

angular.module('sharedObjectDemoApp')
    .controller('MainCtrl', function($scope, $sharedObject) {

        $scope.sharedObject = $sharedObject;

    });

This will not work

// in this moment $sharedObject.someObject is null
$scope.someObject = $sharedObject.someObject

Module stats last updated: 2015-04-19 02:28:18

Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!