Angular / Angular basics
What is the role of selector property of components in AngularJS?
The selector property instructs the Angular to display the component inside a custom tag in the index.html.
In the above example, selector tells the Angular to display component inside the custom tag 'myApp'.
More Related questions...