Step 1
Create the angular app and install ng-drag-drop
Step 2
Put required CSS and js file into index.html file, See below HTML code,
Step 3
Now import the NgDragDropModule in the app.module.ts file
app.module.ts file
Step 4
Now put the drag and drop code into the app.component.ts file as shown below
In the component I have used static employee list just for the example, So you can use dynamic list as your requirement.
Step 5
So now need to put the HTML code into the app.component.html file. Let's put the drag and drop HTML code
Step 6
This is last step to add some basic CSS in the style.scss/style.css file
Let's save the code and run the application
Output
You can move employee from one box to another box, Let's move Rajesh Gami from the left box to the right side box
Simply drag the employee using your mouse click and drop it into the box.