title: Toggle class of parent element using ng-click?
body: <p>I have some javascript that I'm trying to convert into Angular:</p>
  
  <pre><code>$('.col-lg .fa-clock-o').click(function(e){
      $(this).parent().toggleClass('set-time');
      e.preventDefault()
  });
  </code></pre>
  
  <p>I've tried adding the following to the child element containing the link, but it doesn't work, maybe theres a proper 'angular' way to do this instead?</p>
  
  <pre><code>&lt;a href="#" class="fa fa-clock-o" aria-hidden="true" ng-click="$(this).parent().toggleClass('set-time')"&gt;&lt;/a&gt;
  </code></pre>