how to avoid inheritance in angular

JavaScript
body *:not(.innerhtml-container) {
  @import 'bootstrap';
  @import 'someother-plugin';

  /* Components */
  @import 'components/loading-bar';
  @import 'components/textfield';
}
Source

Also in JavaScript: