title: Uncaught TypeError: StaticInjectorError(Platform: core)[t]: Cannot set property '_injector' of undefined
body: <p>The source contains a rest API call as well as global variable reference also I have used only bootstrap CSS and not saved jquery since I m not using bootstrap.js
  I am getting prod build files after executing(ng build -prod) and everything is working fine on my local server. However, when the same I am merging into JSP code on some other server, I am getting the error "Uncaught TypeError: StaticInjectorError(Platform: core)[t]:
  Cannot set property '_injector' of undefined"</p>