Hi there! New in angular, so maybe I amb getting lost in some point.
According to Angular Documentation: https://docs.angularjs.org/error/$http/badjsonp callback parameter is not longer accepted in JSONP calls.
So I did need to change the line 310 of the library:
url = [config.baseUri, apiKey, '/', latitude, ',', longitude, time, '?units=', units, '&lang=', language, query, '&callback=JSON_CALLBACK'].join('');
to
url = [config.baseUri, apiKey, '/', latitude, ',', longitude, time, '?units=', units, '&lang=', language, query].join('');
(
|
url = [config.baseUri, apiKey, '/', latitude, ',', longitude, time, '?units=', units, '&lang=', language, query, '&callback=JSON_CALLBACK'].join(''); |
)
Maybe you would need to check angular version before this call?