title: View is loaded twice using angular ui router
body: <p>I am having a problem in my view. The view is loaded twice and I have no idea what's going on.
  <img src="https://i.stack.imgur.com/zJPEQ.png" alt="enter image description here"></p>
  
  <p>What I have done in my index file is this:</p>
  
  <pre><code>&lt;body class="ng-cloak"&gt;
    &lt;!--Menus--&gt;    
  
    &lt;div class="container-fluid"&gt;
        &lt;div data-ng-controller="HomeCtrl" class="row"&gt;
             &lt;!--Here is the ui view directive--&gt;
            &lt;div class="col col-md-12"  data-ui-view &gt;&lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;
  
    &lt;!--script files here--&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>On the routes file I have these. The problem only occurs when i visit the contact.inner page</p>
  
  <pre><code>$stateProvider
              .state('home', {
                  url: '/',
                  templateUrl: 'partials/home.html'
              })
              .state('contact', {
                  url: '/contact',
                  templateUrl: 'partials/contact.html'
              })
              .state('contact.inner', {
                  url: '/inner',
                  templateUrl: 'partials/inner.html'
              });
  </code></pre>