Added disconnect method to the directive

Hi,

Added a disconnect method because I noticed that in my Angular app when I have a controller that uses a socket, upon navigating to a different route, the socket is still alive and well on the controller (that should have been destroyed?).

Hence I added a disconnect method to the socket that I can call on the destroy event of my controller to disconnect the socket properly.

Test for the disconnect included.
Cheers!