I'm a beginner in angular and I'm doing a small application that consumes a json, but this json is very big and I wanted to load it on demand. I'm using the SPA concept and I use ngRoute as well, I just wanted to know how I can solve this, I'm already testing with some searches I've done. This is the application link: link
getCampanhas: function () {
return $http.get('list.json');
},