import {Component, OnInit} from '@angular/core';
import {Router, ActivatedRoute} from '@angular/router';
import UtilService from "@common/services/util";

@Component({
    selector: '<%= selector %>',
    templateUrl: './template.html',
    styleUrls: ['./style.less']
})
export default class <%= className %> implements OnInit {
    private data: any = {};
    private otherData: any = {};

    constructor(private router: Router,
                private utilService: UtilService,
                private route: ActivatedRoute) {
    }

    ngOnInit(): void {

    }

    submit() {
        this.otherData.loading = true;
        //this.otherData.loading = false;
    }
}