How to include Javascript metadata in angular 4?

0

Look at the code below;

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})

There are two metadata called templateURL and styleURLs.

templateURL reference to './app.component.html'

styleURLs reference to './app.component.css'

The templateURL references an html page and styleURLs references a css file.

Is there any other metadata that references a javascript file to run on the html page?

In this context it would be the './app.component.html'

    
asked by anonymous 20.04.2018 / 12:49

0 answers