Showing data in a table from a data.json file using $http call to api.php