AngularJS get ng-click source element
<p>I'm making a javascript calendar and I'd like to be able to call ng-click when I click on a day. Currently, I have that ng-click function working but I can't attach the clicked element to it:</p>

<pre><code>var dateDiv = document.createElement('div');
dateDiv.setAttribute('ng-click', 'getTimeTables(' + fullDate + ', this);');
dateDiv.className += ' today';
$compile(dateDiv)($scope);
</code></pre>

<p>Also tried replacing this with angular's $event, and I can't get it working or I don't know how, as $($event.currentTarget).addClass('newclass'); doesn't seem to do anything.</p>