I have trouble with my JSON-Files. I have an old one that works fine.
Now i get a new and i didn't find the way into the first "main_themes"-Object.
This is my actual module:
angular.module('destinationsApp', [])
.controller('destinationsCtrl', function($scope, $http){
$http.get('https://raw.githubusercontent.com/MAHUKI-Webdesign/suntrips.github.io/master/data.json').then(function(itemsResponse) {
$scope.items = itemsResponse.data;
});
});
Actually i make it with something like this:
<li ng-repeat="item in items"><a href="#">{{item.name}}</a></li>
How i have to do it?
Here's my Plunkr with the working version:
https://embed.plnkr.co/U4WHAFQRZ2JsUOJVlAu7/
Here's my Plunkr with the not working version: