Adding some error checking around the plugin function calls to avoid everything crashing if factory calls are made before the plugin has loaded.
Adding some error checking around the plugin function calls to avoid everything crashing if factory calls are made before the plugin has loaded.

driftyco/ionic-service-deploy,liyujun1989/ionic-service-deploy,scaperow/scaperow-service-deploy,ajoslin/ionic-service-deploy,starmobiledevelopers/ionic-service-deploy