title: Massaging the DOM with AngularJS
body: <p>I know manipulating the DOM goes against the rules of Angular but in this case, am having do transverse the DOM to modify a sibling node.</p>
  
  <p>In jQuery you can do something like this:</p>
  
  <p><em><strong>$(this).parent().addClass('.loading');</em></strong></p>
  
  <p>While in Angular you would do something like this:</p>
  
  <p><em><strong>angular.element(this).parent().addClass('.loading');</em></strong></p>
  
  <p>Certainly this doesn't work because there is no parent() method or addClass() method support on the API.</p>
  
  <p>Which brings me to the question, how else can I accomplish this?</p>
  
  <p>Thanks!</p>