Get the background color of div - AngularJs?
<p>I want to get the background color of a DIV element when I click on that div.</p>

<p>HTML - </p>

<pre><code>&lt;div style="background-color:red" ng-click="getFilter($event)" class="agenda col-md-4"&gt;ABCDEGF/div&gt;
</code></pre>

<p>JS Controller -</p>

<pre><code>$scope.getFilter = function(event){

};
</code></pre>

<p>If we do in in jQuery, It would have been done as -</p>

<pre><code>$('div').click(function(){
   $color = $(this).css('background-color');
});
</code></pre>

<p>But I want to do with angularJs. Someone help ?</p>