I am facing an issue while loading json data from my api that includes URLs to images outside of my domain. Although I have worked on similar tasks in the past, not with Angular, I have never encountered this particular problem...
Visit my JSFiddle. When clicking 'Search', two images are displayed but they both result in a 403 forbidden error and fail to load.
I am struggling to understand why this is happening. Any suggestions?
var app = angular.module('app', []);
function HomeController($scope) {
$scope.search = function() {
$scope.movies = [
{ Title: 'The Matrix', Poster: 'http://ia.media-imdb.com/images/M/MV5BMTU4NTczODkwM15BMl5BanBnXkFtZTcwMzEyMTIyMw@@._V1._SY317_.jpg' },
{ Title: 'The Matrix Reloaded', Poster: 'http://ia.media-imdb.com/images/M/MV5BMTg1NTkxOTk0MV5BMl5BanBnXkFtZTYwODc4MTc4._V1._SY317_.jpg' }
];
};
}