Created
March 24, 2016 08:35
-
-
Save sivabudh/a7f6a6111947651225d5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This works | |
$http.jsonp('https://10.1.10.161/customer/mns/ajax.php?cuscode=bigc&type=circuit&callback=JSON_CALLBACK').then(function(json) { | |
console.log("Yay! we can now connect!"); | |
resolve(json.data); | |
}, function(err) { | |
reject(err); | |
console.log('Error get user', err); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment