<div class="btn-group">
    <button class="btn btn-primary dropdown-toggle dropdown-value" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" ng-click="vm.dropdownOpen();">{{vm.dropdown}}</button>
</div>
<div class="dropdown {{vm.value}} card">
    <div>
        <a class="dropdown-item" ng-repeat="category in vm.categoryes" ng-click="vm.displayCategory(category);" ng-style="{'background-color': category.color}">{{category.name}}</a>
    </div>
</div>