I am working with Angular and trying to tidy up my code. For the templates there is templateURL, the same with styles. But, what about Animations is there a way to put in a different file?
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css'],
animations: [
trigger('blasted', [
state('up', style({
//transform: 'rotate(-90deg)',
background: "grey",
opacity:0.4,
transform: 'rotate(-2deg)',
})),
state('blow', style({.......................................
I needed an animationUrl