how to solve error "[$location:nobase] $location in HTML5 mode requires a <base> tag to be present!"
<p>I have no idea how to solve this case.</p>

<blockquote>
  <p>Error: [$location:nobase] $location in HTML5 mode requires a 
  tag to be present! <a href="http://errors.angularjs.org/1.5.7/" rel="noreferrer">http://errors.angularjs.org/1.5.7/</a>$location/nobase
  at angular.js:68 at $LocationProvider.$get (angular.js:13384) at
  Object.invoke (angular.js:4709) at angular.js:4508 at getService
  (angular.js:4655)
      at injectionArgs (angular.js:4679)
      at Object.invoke (angular.js:4701)
      at angular.js:4508
      at getService (angular.js:4655)
      at injectionArgs (angular.js:4679)</p>
</blockquote>