$.getJSON('json/test.json', function(data) { console.log(data); that.loadedJSON = data; }).fail(function() {