Angular 2 method for querySelectorAll and className
<p>I would like to know the best way to define functions to get all elements of a list and apply/remove a class style to all of it.</p>

<pre><code>var x = document.querySelectorAll(".example &gt; li");

x.className = "";
</code></pre>

<p>How to angularize 2 the above? Can anyone help with an example?</p>