title: Read local file in AngularJS
body: <p>I used to work with RequireJS and Backbone and used <a href="https://github.com/requirejs/text" rel="noreferrer">requirejs/text</a> and <a href="https://github.com/millermedeiros/requirejs-plugins" rel="noreferrer">requirejs-plugins</a> to load local json files I normally use for configuration.</p>
  
  <p>How does one achieve the same with AngularJS?</p>
  
  <p>Everyone seems to suggest to use $http, but is this the only way?
  Do I really need to make 20 calls if I have 20 configuration files?</p>
  
  <p>Maybe something like <a href="https://github.com/werk85/grunt-ng-constant" rel="noreferrer">ng-constant</a> is the "preferred" way?</p>