Uncaught ReferenceError: compileServiceConfig is not defined
mraible opened this issue · comments
After installing this plugin, it worked locally. However, after I deploy to Heroku (or upgrade JHipster), there's an error:
Uncaught ReferenceError: compileServiceConfig is not defined
To fix, _bootstrap-material.config.js needs to be:
(function() {
'use strict';
angular
.module('<%=angularAppName%>')
.config(bootstrapMaterialDesignConfig);
bootstrapMaterialDesignConfig.$inject = [];
function bootstrapMaterialDesignConfig() {
$.material.init();
}
})();
Thanks I will do the fix