Yes you are right,finally got it resolved with the following code

*<ul ng-init="KVP = **getKeyValuePair**(pro.Value)">*
*                        <li ng-repeat="item in KVP">*
*                            {{item.Key}} : {{item.Value}}*
*                        </li>*
*                    </ul>*
*function getKeyValuePair(value) {            *
*            var myObject = eval('([' + value + '])');*
*            return myObject;*
*}*

Cheer !!!


On Friday, May 23, 2014 12:58:19 PM UTC+5:30, Sander Elias wrote:
>
> Hi Triven,
>
> Your pro.Value is a string, not an object. It's kind of hard iterating a 
> string as an object ;)
>
> Regards
> Sander
>

-- 
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