title: Angular routes are not working in tomcat and Spring Boot (no exception is shown in console)
body: <p>I'm making a tutorial mixing AngularJS and Spring Boot that run on a Tomcat server and I'm trying to make a route work but it just doesn't seem to be doing anything. Do you guys see anything wrong here? I've done angular routing before but had no trouble, I think that something is happening due to the fact that it runs in Tomcat...</p>
  
  <p>This is the page that calls the route:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html ng-app="appCliente"&gt;
  &lt;head&gt;
  &lt;meta charset="UTF-8"/&gt;
  &lt;title&gt;Insert title here&lt;/title&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular-route.js"&gt;&lt;/script&gt;
  &lt;script src="./js/app.js"&gt;&lt;/script&gt;
  &lt;script src="./js/controller/cliente-controller.js"&gt;&lt;/script&gt;
  &lt;script src="./js/controller/estado-controller.js"&gt;&lt;/script&gt;
  &lt;script src="./js/controller/cidade-controller.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
   &lt;a href="#/clientes"&gt;Clientes&lt;/a&gt; 
   
    &lt;div ng-view="ng-view"&gt;
    
   &lt;/div&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>And this is the app declaration JS file:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>var appCliente = angular.module('appCliente', ['ngRoute']); 
  
  appCliente.config(function($routeProvider){
   $routeProvider
   .when('/clientes', {
    controller:'clienteController',
    template: '&lt;h2&gt;Something&lt;/h2&gt;'
   })
   .otherwise({
    redirectTo:'/'
   });
  
  });</code></pre>
  </div>
  </div>
  </p>
  
  <p>Any idea of what seems to be the problem?</p>
  
  <p>(I noticed that when I try to load the initial page - <a href="http://localhost:8080/" rel="nofollow noreferrer">http://localhost:8080/</a> - Spring Boot is putting some characters after the url automatically - <a href="http://localhost:8080/#!/" rel="nofollow noreferrer">http://localhost:8080/#!/</a> - but it loads normally)</p>