RPeraltaJr
6/22/2017 - 6:46 PM

Selectors. Select by element, attribute or class (by ID will not work).

Selectors. Select by element, attribute or class (by ID will not work).

@Component({
  selector: 'app-root' // by element <app-root></app-root>
  select: '[app-root]' // by attribute <div app-root></div>
  select: '.app-root' // by class <div class="app-root"></div>
  ...
  ...
})