I am getting this error
import {Component, Input, OnDestroy} from 'angular2/core';
export class cardItem implements OnDestroy {
ngOnDestroy() {
this.cardItem.removeGroup(this);
}
}
how can i fix this?
I am getting this error
import {Component, Input, OnDestroy} from 'angular2/core';
export class cardItem implements OnDestroy {
ngOnDestroy() {
this.cardItem.removeGroup(this);
}
}
how can i fix this?
That should be '@angular/core'
.