constructor(injector: Injector) {
this.injector = injector;
this.restService = this.injector.get(RestService);
this.dataService = this.injector.get(DataService);
this.activatedRoute = this.injector.get(ActivatedRoute);
this.modalService = this.injector.get(NgbModal);
constructor(injector: Injector) {
this.injector = injector;
this.restService = this.injector.get(RestService);
this.dataService = this.injector.get(DataService);
this.activatedRoute = this.injector.get(ActivatedRoute);
this.modalService = this.injector.get(NgbModal);