Hi all,
I have a scope like
$scope.salesDetails=[
{"apple":"12345"},
{"orange":"1000"}]
i'm suppose to print those details with help of ng-repeat: like:
<div ng-repeat="(key,value) in salesDetails ">{{key}} -- {{value}} </div>
my op is :
0--{"apple":"12345"}
1--{"orange":"1000"}
but i need to print like this:
apple -- 12345
orange -- 1000
some one help to print like above format..
Thanks & Regards,
Sasikumar.V
--
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.