title: Recursive ui router nested views
body: <p>I am trying to create a file viewer and I want to nest the subdirectories. I am using ui-router and I want each subdirectory to have its own URL and state.</p>
  
  <p>Say I have the following structure:</p>
  
  <pre><code>Root
    |__Folder
    |__Folder
       |__SubFolder
          |__SubSubFolder
  </code></pre>
  
  <p>I want my routes to be:</p>
  
  <pre><code>files/:folderID/:SubFolderID/:SubSubFolderID
  </code></pre>
  
  <p>And I would like to do that recursively as opposed to creating a new state for each subdirectory </p>