Angularjs, angular-1.2.0-rc.2
$http.get("gridData.json")
.success(function(data, status, headers, config){
angular.extend($scope.model.entities, data.entities);
})
.error(function(data, status, headers, config){
alert("x");
});
This code runs perfectly fine when load the page from server, or when run the page on local disk using firefox or chrome. But when load the page from disk in IE9 (didn't test in other IE version), it always go to error function. When debugging, when error happen, the data, status, headers all are undefined, except config has content.
Anyone have any idea? Could be any solution?