You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 13, 2021. It is now read-only.
I'm in the process of switching our code from using angular-sails to using your angularSails, however, it seems that there are some issues.
in your repo, you have an examples folder with both a www and an assets folder. These two seem to be using different approaches to including the angularSails (www seems to be using something completely different). So it is not clear which is the advised way.
[the main issue I am writing for] when adding the 'sails.io' dependency into my module declaration, and injecting '$sailsSocket' into my controller, it is saying that 'on' ($sailsSocket.on()) is undefined. Looking at the dist/ngsails.io.js file, line 587 has 'createShortMethods' for 'get','delete','head' and then line 634 has the 'createShortMethodsWithData' function for 'post','put'. The comment block starting on line 617 mentions the on method, but it doesn't seem to be included in either of these two function calls.
a detailed example on the JSDocs would be great for the preferred implementation of this.
Any help that you guys can provide would be a great help!!