Skip to content

Instantly share code, notes, and snippets.

@zealfire
Created September 13, 2016 15:57
Show Gist options
  • Save zealfire/fe7398f97ea4a8b8a3a34987da275204 to your computer and use it in GitHub Desktop.
Save zealfire/fe7398f97ea4a8b8a3a34987da275204 to your computer and use it in GitHub Desktop.
<ul>
<li ng-repeat="(key, errors) in form.$error track by $index"> <strong>{{ key }}</strong> errors
<ul>
<li ng-repeat="e in errors">{{ e.$name }} has an error: <strong>{{ key }}</strong>.</li>
</ul>
</li>
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment