Created
July 23, 2013 13:46
-
-
Save egm0121/6062452 to your computer and use it in GitHub Desktop.
ng-repeat of props in {} keep no default sorting
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
| $scope.objKeys= function(o){ | |
| return angular.isObject(o) ? Object.keys(o) : []; | |
| }; |
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
| <div class="row-fluid" ng-repeat="name in objKeys(popoverInfo)" ng-init="value = popoverInfo[name]"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment