I am migrating Angularjs 1.5 code to Angular 9 and i am new to angular. I am facing problem in converting the below function in Angular 9
function retryAll(jobDat