When working with HTML tags that contain ng-clicks and ng-ifs in Angular, I often make function calls and pass in parameters, including literals such as true or false. However, I've noticed that it's difficult to add comments explaining what these literals mean within the expressions. Despite knowing that passing literals is not ideal, I am still curious about how to address this issue.
<button class='someclass' ng-click='somefunction(val1, val2, true /* explanation for literal */)' > </button>
Is there a way to add comments in angular expressions to clarify the purpose of literals?