Can anyone help with how to find \'All\' Elements with a particular class name in Angular 2? I thought it would be trivial but it\'s giving me more problems that was prepar
you need to use DOM in angular
var element=document.getElementsByClassName("X").item(0);
it works for me!