diff --git a/docs/content/guide/concepts.ngdoc b/docs/content/guide/concepts.ngdoc index 73993d40f0ce..d3ef180047e0 100644 --- a/docs/content/guide/concepts.ngdoc +++ b/docs/content/guide/concepts.ngdoc @@ -141,7 +141,7 @@ different currencies and also pay the invoice. Total: {{invoice.total(c) | currency:c}} - +
@@ -242,7 +242,7 @@ Let's refactor our example and move the currency conversion into a service in an Total: {{invoice.total(c) | currency:c}} - +
@@ -337,7 +337,7 @@ The following example shows how this is done with Angular: var refresh = function() { var url = YAHOO_FINANCE_URL_PATTERN. replace('PAIRS', 'USD' + currencies.join('","USD')); - return $http.jsonp(url).then(function(response) { + return $http.get(url).then(function(response) { var newUsdToForeignRates = {}; angular.forEach(response.data.query.results.rate, function(rate) { var currency = rate.id.substring(3,6); @@ -371,7 +371,7 @@ The following example shows how this is done with Angular: Total: {{invoice.total(c) | currency:c}} - +