title: How to use $document service in angularJS?
body: <p>I am very new to angularJS in JS in general and I am a bit confused about using $document. According to what I understood $document exposes some JQuery functions. So, when I want to remove an element matching a selector I do this : </p>
  
  <pre><code>$document.remove('.someClassSelector');  
  </code></pre>
  
  <p>and the element should be removed from the DOM tree, right ? If not what is the correct way to manipulate DOM elements and their css in angular.  </p>