corrects angular syntax errors