returns an angularjs promise instead of the azure promise, jslint fixes, documentation updates