How to use codova socket plugin with ionic


I just wondered if there would be a way to use the Tlantic/cdv-socket-plugin link with the ionic framework?
What would I need to inject into my controller and are there any additional steps required after instaling the plugin via cordova plugin add…?