Created
September 12, 2015 17:36
-
-
Save amadden80/fe4f19cbffa24a9a96ac to your computer and use it in GitHub Desktop.
My Common Angular Errors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// error: [ngRepeat:dupes] | |
// Can't have repeat values in an array because angular uses the values to index | |
// Consider: | |
<li ng-repeat="thing in things.allOfThem track by $index"> | |
{{thing}} | |
</li> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment