title: Angular + Webpack: Why is better to templte:require(file.html) than to specify it with a templateUrl
body: <p>I saw several tutorials that are using this kind of notion to load html templates with Angular, like:</p>
  
  <pre><code>$stateProvider.state('stateName', {
     url: 'someState',
     template: require('localFile.html')
  }
  </code></pre>
  
  <p>instead of:</p>
  
  <pre><code>$stateProvider.state('stateName', {
     url: 'someState',
     templateUrl: '/path/to/localFile.html'
  }
  </code></pre>
  
  <p>My guess was that the templateUrl make the page do an AJAX call to require this page (I really not sure why it needs to do it).</p>
  
  <p>Is it really better (performance-wize) and if so - why?</p>