Tried adding this to an AngularJS 1.x app built by JHipster, and all looked to be fine from the sanity checks standpoint. When trying to run the application, the Maven build shows successful, but there is an error with the app itself:
Uncaught Error: [$injector:unpr] Unknown provider: BootswatchInterceptorProvider <- BootswatchInterceptor <- $http <- $templateFactory <- $view <- $state
http://errors.angularjs.org/1.5.8/$injector/unpr?p0=BootswatchInterceptorProvider%20%3C-%20BootswatchInterceptor%20%3C-%20%24http%20%3C-%20%24templateFactory%20%3C-%20%24view%20%3C-%20%24state
at angular.js:68
at angular.js:4511
at Object.getService [as get] (angular.js:4664)
at angular.js:4516
at Object.getService [as get] (angular.js:4664)
at angular.js:10889
at forEach (angular.js:321)
at $HttpProvider.$get (angular.js:10887)
at Object.invoke (angular.js:4718)
at angular.js:4517
My assumption is that this is a conflict with either the latest version of JHipster or with AngularJS 1.x. If so, can you please make sure to list supported/compatible versions?