javascript - Angularjs access local json files -



javascript - Angularjs access local json files -

this question has reply here:

local file access javascript 10 answers

i new angularjs , i've been searching on web whole day find solution in getting info local json file without having utilize localhost webapp. unfortunately, haven't found any. tried using $http.get cross origin * error.

is there no other way info local json file without having locally host webapp?

does angularjs have other function info local json files without having utilize $http.get?

you need deploy application http server, easiest way using node, here exmaple https://www.npmjs.org/package/http-server, or can alter browser security settings.

javascript json angularjs

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -