I've been messing around in Angular and I am trying to include an external .js file but Angular keeps ignoring it. I tried including the file in the <header>
.
I tried including it by using the styleUrl inside the component
@Component({
selector: 'my-app',
templateUrl: './app.component.html',
stylesUrl: ['/js/bootstrap.min.js']
})
but nothing seems to work.
How should I been doing this?