title: Preload ng-view for smoother navigation
body: <p>I'm using $location.path() to load new view inside my angular web site. 
  My page looks like : </p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div data-ng-view="" &gt;&lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>And I change the ng-view depending on the demands (index, home, login, etc). 
  Some times the navigation seems slow (some glitch stay within the page while 0.1 secs) is there a way to make the navigation instant ? </p>
  
  <p>Also, I tried the ng-animate which improved that feeling but not completely.
  I guess that preloading my 'views' will be one solution ..</p>
  
  <p>Edit : </p>
  
  <p>Feeling improved by adding : </p>
  
  <pre><code>myApp.run(function ($templateCache, $http) {
          $http.get('Template1.html', { cache: $templateCache });
      });
  </code></pre>