I am new to angularJS ,i want to read a json file from my local system, when i try to read the file it throws a exception Error: Access to restricted URI denied XMLHttpRequest.
My code
var deferred = q.defer();
http.get('file:///C:/configjson.json').success(function(data) {
angular.extend(this, data);
deferred.resolve(data);
}).error(function() {
deferred.reject('could not find File');
});
please help me