Error when trying to load viewer with Angular html5mode enabled

I am trying to load Cesium viewer in an AngularJS application. When I enable html5mode in the $locationProvider service, I get the following errors in the browser console:

Uncaught SyntaxError: Unexpected token < ................tranferTypedArrayTest.js
Uncaught SyntaxError: Unexpected token < .............cesiumWorkerBootstrapper.js

If I disable the html5 mode, the viewer loads correctly.

Thanks

Any ideas on that?

Hi,

Just to let you know that I checked again using Cesium 1.22 and the problem no longer exists.