btford/angular-socket-io — pull request #88 by davisford (2014-10-28 23:39:58+00:00)
Title: fix it so all socket.io args are passed to scope on socket.forward

Right now, you are truncating args passwed from the socket through to the scope.

For example, if the server side does this:

```javascript
socket.emit('event:name', { first: 'first arg'}, { second: 'second arg' });
```

On the client, socket.io receives both, but you are truncating it, so you end up with this:

```javascript
.controller('FooCtrl', function (mysocket, $scope) {
// mysocket is the factory wrapper
mysocket.forward('event:name', $scope);
$scope.$on('socket:event:name', function () {
console.log('arguments: ', arguments);
});
});
```

Will print the first arg as the event object, second arg would be `{ first: 'first arg' }` and there will be no more args.

This PR fixes that.