export class TabController {
    constructor($scope) {
        'ngInject';

        this.$scope = $scope;
        this.$onInit = this.init;
    }

    init() {
        // let self = this;
        // this.ngModel.$render = () => {
        //     self.count = self.ngModel.$viewValue;
        // };

        // this.$scope.$watch(function () {
        //     return self.count;
        // }, function (value) {
        //     self.ngModel.$setViewValue(value);
        // });
    }


}

export const tabComponent = {
    bindings: {
        // tabValue: '@',
        // tabDisplayValue: '@',
    },
    templateUrl: 'app/controls/components/tab/tab.html',
    controller: TabController
};