Skip to content

Instantly share code, notes, and snippets.

@johnw86
Created May 17, 2016 16:11
Show Gist options
  • Save johnw86/5da6cd26ab9a44f350dee72287ff8369 to your computer and use it in GitHub Desktop.
Save johnw86/5da6cd26ab9a44f350dee72287ff8369 to your computer and use it in GitHub Desktop.
<ul>
<li ng-repeat="(key, errors) in editForm.$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