everything goes as document say,however the error below happen!
Error: StaticInjectorError(AppModule)[TreeComponent -> TreeDraggedElement]:
StaticInjectorError(Platform: core)[TreeComponent -> TreeDraggedElement]:
NullInjectorError: No provider for TreeDraggedElement!
You should use forRoot() method to import the module:
```ts
@NgModule({
imports: [ TreeModule.forRoot(), ...]
});
yes, it's ok thank you a lot
Most helpful comment
You should use forRoot() method to import the module:
```ts
@NgModule({
imports: [ TreeModule.forRoot(), ...]
});