Created
January 6, 2016 13:54
-
-
Save fauverism/4e9fae8645d43e8820f0 to your computer and use it in GitHub Desktop.
Reference a property name in ng-repeat
This file contains hidden or 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
<ul> | |
<li ng-repeat="(key,val) in data">{{key}}: {{val}}</li> | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This article explains it with example
http://www.coding-issues.com/2016/06/reference-property-name-within-ng-repeat-angularjs.html