I want to add to my application a configuration JSON file.
I've added it to my project and tried to get it using $http.get:
$http.get('http://localhost/myProject/content.json').success(function (data) {
// Do stuff...
}).error((data, status, headers, config) => {
// Failure...
});
The problem is that every time I get an error 404.
http://localhost/myProject/content.json
directly in your browser.