import ngModule from '../../module';

class Controller {
    constructor($stateParams) {
        this.$stateParams = $stateParams;
        this.filter = {
            include: [
                {
                    relation: "greugeType",
                    scope: {
                        fields: ["id", "name"]
                    }
                }
            ]
        };
    }
}

Controller.$inject = ['$stateParams'];

ngModule.component('vnClientGreugeIndex', {
    template: require('./index.html'),
    controller: Controller
});