title: Issues with Angular 5 URL Rewrite
body: <p>I built an Angular 5 application with two routes.  I currently have:
  Home/DailySummary and Home/Documents.  When I publish the application to the server (IIS 6.0 w/ URL Rewrite) and navigate to the Home.aspx page everything runs perfectly and my Routing directs me to DailySummary and Documents if I click those links.  The issue I'm having is refreshing or navigating to the page without going to Home.aspx, it directs me to the root folder.  I'm certain this has something to do with my URL rewrite rule:</p>
  
  <pre><code>&lt;rule name="RewriteRules" stopProcessing="true"&gt;
        &lt;match url=".*" /&gt;
        &lt;conditions logicalGrouping="MatchAll"&gt;
          &lt;add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /&gt;
          &lt;add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /&gt;
        &lt;/conditions&gt;
        &lt;action type="Redirect" url="/NewWebApp/" /&gt;
  &lt;/rule&gt;
  </code></pre>
  
  <p>My Home.aspx page has the same href value ("/NewWebApp/")</p>
  
  <p>I'm not sure how to go to Home.aspx then navigate to the specific route.  </p>
  
  <p>My Web.config and Home.aspx are in the root directory of my project.</p>
  
  <p>Here's my routes if it helps.</p>
  
  <pre><code>const appRoutes: Routes = [
  { path: 'Home.aspx', redirectTo: 'Home/DailySummary', pathMatch: 'full' },
  { path: '', redirectTo:'Home/DailySummary', pathMatch:'full' },
  {
      path: 'Home', component: INHome, children: [
          { path: 'DailySummary', component: DailySummary },
          { path: 'Documents', component: Documents },
          { path: 'Safety',component: Safety},
          { path:'', redirectTo:'DailySummary', pathMatch:'full'}
      ]
  },
  {path:'**',redirectTo:'Home/DailySummary', pathMatch:'full'}
  ]
  </code></pre>
  
  <p>Thanks for your help.  Let me know if you need more info.</p>