i have a working Angular-Module. When i change the URL (same JSON-File) it won't work. What do i wrong?
Working Module:
angular.module('destinationsApp', []).controller('destinationsCtrl', function($scope, $http){
$http
.get('https://raw.githubusercontent.com/MAHUKI-Webdesign/suntrips.github.io/master/main_sub_themes-light.json')
.then(function(itemsResponse) {
$scope.items = itemsResponse.data.main_themes;
Not working:
angular.module('destinationsApp', []).controller('destinationsCtrl', function($scope, $http){
$http
.get('https://www.suntrips.de/import/main_sub_themes-light.json')
.then(function(itemsResponse) {
$scope.items = itemsResponse.data.main_themes;