Currently, I'm encountering an error that leads me to a JSON response when clicking on the provided link:
{"link-canonical":"https:\/\/myanimelist.net\/anime\/1\/Cowboy_Bebop",.....}
My issue arises while making a get request for an anime api. It seems that the colon in the JSON data it retrieves might be causing the error..? Although I am unsure about the exact cause. Interestingly, my code functions properly when used with a different API URL.
Below is the snippet of code responsible for the request:
myApp.controller('mainController', ['$scope', '$resource', function($scope, $resource) {
$scope.animeApi = $resource('http://jikan.me/api/anime/1', {callback: "JSON_CALLBACK"}, { get: { method: "JSONP" }});
$scope.animeResult = $scope.animeApi.get({});
console.log($scope.animeResult);
}]);