I don't know if this is the right place for my suggestion, but I think it
would be a really good idea to convert your hash to something like:
 [{item: 'apple', count: 12345}, {item: 'orange', count: 1000}], at least
if you have structured and predictable data. You're conflating two
attributes (type/name and count) as a key and value pair for a single
attribute.

Then you could just do an ng-repeat="item in salesDetails" and output
{{item.type}} and {{item.count}}.

e

On Tue Nov 18 2014 at 10:05:22 AM Vivek Anand <[email protected]> wrote:

> Please refer to the following link
> <https://groups.google.com/forum/#!topic/angular/xzAUV1NFXAc>.
>
> --
> You received this message because you are subscribed to the Google Groups
> "AngularJS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to