An AngularJS service to bind Angular models with sailsjs backend models using socket.io.
What it does:
- Creates the model inside the $scope for you.
- Retrieves the model data from the backend using socket.
- Watches for changes made by the user in the UI and updates the backend immediately.
- Watches for changes made in the backend and updates the UI immediately.
Your new post is loading...