<span style="width:100%">
    <span class="dropdown">
        <button class="btn btn-default dropdown-toggle" type="button" ng-disabled="vm.configurations.length <= 1" id="dropdownConfigurationPicker" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">           
            {{vm.selectedConfig.title || vm.selectedConfig.configFilter}}
            <span style="" class="caret"></span>
        </button>
        <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownConfigurationPicker">
            <li ng-repeat="config in vm.configurations | orderBy: 'configFilter'">
                <a href="" ng-click="vm.configSelected(config)">{{config.title || config.configFilter}}</a>
            </li>
        </ul>        
    </span>
    <button type="button" class="btn btn-default" ng-click="vm.configure()"><i class="streamline icon-pencil-1"></i>Edit</button>
</span>