title: How do I code a redirect in an Angular page?
body: <p>In my new Angular 8 app I have a page (technically route) where a user selects one of 3 pages to go to in a radio button choice and based on her selection, gets redirected to her selected page. I know other web technologies (php, Coldfusion) had a simple redirect call, but how would I do this using routes? (Since the route has to load within the application....)</p>
  
  <p>I suspect the answer lies in calling a route from within my if/else/elseif block (that simply traverses the user's possible selections)</p>
  
  <pre><code>if (radio_select_1) 
  {redirect to page 1}
  elseif (radio_select_2) 
  {redirect to page 2}
  else (radio_select_3) 
  {redirect to page 3}
  </code></pre>
  
  <p>Based on the selected radio button I would expect to redirect the user to that page in the app.</p>