How can I change the color of a div to green using AngularJs when a file is selected?
html
<div class="text-arrow" ng-class="{activeBackground:applyActive}">File Selection<span class="arrow-div"></span></div>
css
.activeBackground{
background-color: green;
}
script.js
$scope.onSelect = function (e) {
$scope.applyActive = true;
}