I am rendering my DataTable the angular way, I added a select all checkbox at the top and per row I added a checkbox and number textbox. 
If the checkbox per row is checked then the number textbox would be enabled.
The problem is that for example, I check selectAll then the checkbox per row would be checked but the number textbox remains disabled. I checked the value of the checkbox per row and it was false even though the checkbox was checked.
I cannot remove the api.rows({search:'applied'}) code and just change the value of the checkbox per row using for or angular.forEach because for example the user filters the result using the checkbox and then the user clicked selectAll then it should only check the filtered results.
see plunker.
This was tagged duplicate but the problem is different. My problem was that I changed the prop of the checkbox per row in my datatable.
 
    