Within my web application, I am utilizing an ng-table that displays a large number of rows per page (up to 1000). One of the features is a select-all checkbox that triggers an ng-change function to mark each table row as selected. However, the execution of this function takes a few seconds, which can result in users clicking the checkbox multiple times. To prevent this issue, I am looking for a way to disable the checkbox while the function is running. Is there a way to achieve this functionality? Thank you.