A angular directive provide html block to move on html plain.
import { NgDraggableModule } from 'angular-draggable';
@NgModule({
imports: [
....,
NgDraggableModule
],
declarations: [YourAppComponent ],
exports: [YourAppComponent],
bootstrap: [YourAppComponent],
})
.....
<div draggable>
content
</div>
<div draggable="true">
content
</div>
<div draggable="false">
content
</div>