Difference between Renderer and ElementRef in angular 2
<p>What is the difference between <code>Renderer</code>  and <code>ElementRef</code>? In Angular both are used for DOM Manipulation. I am currently using <code>ElementRef</code> alone for writing Angular 2 directives. If I get more info about <code>Renderer</code>, I can use that in my future directives.</p>