<article>
    <div bs-panel="controls outline">
        <h1 bs-heading>
            <icon icon="{{ctrl.section.icon}}"></icon>
            {{ctrl.section.title}}
        </h1>
    </div>
    <div bs-button-row>
        <button bs-button="icon-left inline success" ng-click="ctrl.setMany(true)">
            <svg bs-svg-icon><use xlink:href="#svg-circle-ok"></use></svg>
            Enable All
        </button>
        <button bs-button="icon-left inline" ng-click="ctrl.setMany(false)">
            <svg bs-svg-icon><use xlink:href="#svg-circle-delete"></use></svg>
            Disable all
        </button>
    </div>

    <switch toggle="ctrl.toggleSyncItem(item)"
            switchid="sync-options-{{$index}}"
            active="item.value"
            prop="value"
            ng-repeat="item in ctrl.syncItems track by $index"
            item="item"></switch>
</article>