I am using a angular custom directive range-selection which enables the user to get the details of selected cells from a table.
range-selection
Below is the working code