you need to define your function first in the js terminal. Once done, you can call the function by passing the data. for example
function isActive(value){
if(value=='success'){
return "Verified Clear";
}else{
return "Record Not Found";
}
}
for this function, you'll call it by using double curly brackets like below in template
<td style="font-size:12px !important ">{{isActive forms.status}}</td>
here, isActive is the function call and the forms.status is the argument.