Transferring code from the mqttClient factory in the angular1 code to a service in angular2. Changed most of the es5 code to es6 as well. Missing the broadcasting.
Transferring code from the mqttClient factory in the angular1 code to a service in angular2. Changed most of the es5 code to es6 as well. Missing the broadcasting.

teseolab/rapIoT-gateway-app,teseolab/rapIoT-gateway-app,teseolab/rapIoT-gateway-app