title: Multiple States for Multiple Views On Single Page
body: <p>I'm having some trouble targeting nested views on a single page with multiple views. Here's my code.</p>
  
  <pre><code>$stateProvider
      .state('root', {
          abstract: true,
          url: '/',
          views: {
  
              'viewA': {
                  templateUrl: '/views/viewA.html'
              },
  
              'viewB': {
                  templateUrl: '/views/viewB.html'
              }
          }
      })
      .state('root.sectionA1', {
          url: '',
          views: {
              'viewASub': {
                  templateUrl: '/views/viewA.Section1.html'
              }
          }
      })
      .state('root.sectionA2', {
          url: '',
          views: {
              'viewASub': {
                  templateUrl: '/views/viewA.Section2.html'
              }
          }
      })
      .state('root.sectionB1', {
          url: '',
          views: {
              'viewBSub': {
                  templateUrl: '/views/viewB.Section1.html'
              }
          }
      })
      .state('root.sectionB2', {
          url: '',
          views: {
              'viewASub': {
                  templateUrl: '/views/viewB.Section2.html'
              }
          }
      })
  </code></pre>
  
  <p>My index.html</p>
  
  <pre><code>&lt;body&gt;
    &lt;div ui-view="viewA"&gt;&lt;/div&gt;
    &lt;div ui-view="viewB"&gt;&lt;/div&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>The html to my 2 sections</p>
  
  <pre><code>&lt;!-- viewA.html --&gt;
  view A content
  &lt;div ui-view="viewASub"&gt;&lt;/div&gt;
  
  
  &lt;!-- viewB.html --&gt;
  view B content
  &lt;div ui-view="viewBSub"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>At this point all the subview states for viewA show up fine. I'm able to add multiple sections and show different states using the ui-sref link. But I'm unable get any of the 'viewB' subviews so show up. When I place the 'root.sectionB1' above 'root.sectionA1' the second section subviews show up fine. I'm assuming that I need to be more specific in how I'm referencing the parent of each subview. I'm I missing something here?</p>