From 4a67a0d0f1794e0f3f9ef5e8531be093449b8785 Mon Sep 17 00:00:00 2001 From: Andrew Stephan Date: Tue, 1 Apr 2014 13:13:30 -0400 Subject: [PATCH] updated readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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