Download json from server

Good, I’m new to programming and Ionic angularjs and I wonder if it is possible to download a json file to the www folder (target and update this file whenever the server is updated, and that each user can use the application in offline mode on your mobile dai be necessary to do the download of this). And if possible, a tutorial to show you how :). Since already a lost time thanks for reading this post.