balderdashy/angularSails — pull request #38 by krixer (2014-10-28 11:48:16+00:00)
Title: Possible solution to the problem of sending headers

Related with this issue: https://github.com/balderdashy/angularSails/issues/36

- Modified $window.io.socket params with new options object in ngsails.io.js line 846
- Modified options.data and options.headers data with new options in sails.io.js line 537

With this change allow to send headers to socket.io, I tested with Authorization header and it works.

Sorry for my English.