diff --git a/README.md b/README.md index 6f4c350..13b3b8e 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ This plugin creates a cordovaHTTP service inside of a cordovaHTTP module. You m var app = angular.module('myApp', ['ngRoute', 'ngAnimate', 'cordovaHTTP']); -You can then inject the cordovaHTTP service into your controllers. The functions can then be used identically to the examples shown below except that instead of accepting success and failure callback functions, each function returns a promise. For more information on promises in AngularJS read the [AngularJS docs](http://docs.angularjs.org/api/ng/service/$q). For more info on promises in general check out this article on [html5rocks](http://www.html5rocks.com/en/tutorials/es6/promises/). +You can then inject the cordovaHTTP service into your controllers. The functions can then be used identically to the examples shown below except that instead of accepting success and failure callback functions, each function returns a promise. For more information on promises in AngularJS read the [AngularJS docs](http://docs.angularjs.org/api/ng/service/$q). For more info on promises in general check out this article on [html5rocks](http://www.html5rocks.com/en/tutorials/es6/promises/). Make sure that you load cordova.js or phonegap.js after AngularJS is loaded. ### Not AngularJS