<md-tabs class="of-tabs-header" md-no-bar md-no-ink md-selected="selectedIndex" ng-class="{'tabs-align-right': centeredRight}">

    <md-tab ng-repeat="page in pages.a" label="{{pages.o[page].title | translate}}" class="of-tabs-item" md-on-select="changeTab($index)">
        <div ng-include="'view/' + context + '/' + page + '.html'" ng-swipe-left="nextTab()" ng-swipe-right="previousTab()"></div>
    </md-tab>

</md-tabs>
