Is there a way to put a condition inside an ng-click? Here, I want that the form is not submitted if there are any form errors, but then I got a parse exception.
You can put conditionals inside tags. Try:
ng-class="{true:'active',false:'disable'}[list_status=='show']"