title: Spring Boot/Angular 4 - Routing in app hits the server
body: <p>I have an Angular 4 (ES6) app that I want to serve from a Spring Boot application.  My Angular app has an index.html, and when the address of <a href="http://localhost:8080" rel="noreferrer">http://localhost:8080</a> is hit, Spring Boot knows to map to the index.html file which in Angular is mapped to "/search".</p>
  
  <p>However, I have another route called "adminlogin" which I would access through </p>
  
  <p><a href="http://localhost:8080/adminLogin" rel="noreferrer">http://localhost:8080/adminLogin</a></p>
  
  <p>But in this instance, it hits my Spring Boot application, which doesn't have a mapping and then it throws an error.</p>
  
  <p>How do I get my address of <a href="http://localhost:8080/adminLogin" rel="noreferrer">http://localhost:8080/adminLogin</a> to go to my Angular app?</p>