title: How to let sitemap generator fully crawl Angular router for SPA?
body: <p>I am trying to generate a sitemap for my webpage. </p>
  
  <p>The sitemap generators online only show me a homepage on xml file.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  -&lt;urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"&gt;
  -&lt;url&gt;
  &lt;loc&gt;http://margvel.com&lt;/loc&gt;
  &lt;priority&gt;0.5&lt;/priority&gt;
  &lt;/url&gt;
  &lt;/urlset&gt;
  </code></pre>
  
  <p>my webpage meanwhile has several routes in angular. </p>
  
  <p>to see the webpage you could go to margvel.com</p>
  
  <p>I used couple of sitemap generators. </p>
  
  <p><a href="https://www.xml-sitemaps.com/" rel="noreferrer">xml-sitemap</a> and 
  <a href="http://botmap.io/sitemap-generator" rel="noreferrer">botmap</a></p>
  
  <p>I checked botmap, because it should have SPA support.</p>
  
  <p>The links I want to create sitemap use material design and routerlink.</p>
  
  <p>the code looks like this. </p>
  
  <pre><code>          &lt;mat-list-item (click)="snav.close()" routerLink="/Projects"&gt;&lt;mat-icon style="margin-left: 7px;"&gt;code&lt;/mat-icon&gt;&lt;a style="margin-left: 25px;" &gt;Projects&lt;/a&gt;&lt;/mat-list-item&gt;
            &lt;mat-list-item (click)="snav.close()" routerLink="/Jobs"&gt;&lt;mat-icon style="margin-left: 7px;"&gt;work&lt;/mat-icon&gt;&lt;a style="margin-left: 25px;" &gt;&lt;/a&gt;Work Experience&lt;/mat-list-item&gt;
            &lt;mat-list-item (click)="snav.close()" routerLink="/Education"&gt;&lt;mat-icon style="margin-left: 7px;"&gt;school&lt;/mat-icon&gt;&lt;a style="margin-left: 25px;"&gt;&lt;/a&gt;Education&lt;/mat-list-item&gt;
            &lt;mat-list-item (click)="snav.close()" routerLink="/Resume"&gt;&lt;mat-icon style="margin-left: 7px;"&gt;description&lt;/mat-icon&gt;&lt;a style="margin-left: 25px;" &gt;&lt;/a&gt;Resume&lt;/mat-list-item&gt;
            &lt;mat-list-item (click)="openSnackBar()" routerLink="/Contact"&gt;&lt;mat-icon style="margin-left: 7px;"&gt;contact_mail&lt;/mat-icon&gt;&lt;a style="margin-left: 25px;" &gt;&lt;/a&gt;Contact&lt;/mat-list-item&gt;
  </code></pre>