Hello,
I think your main struggle is the structure of your data.  Your todo is an 
array that contains a single object so you have to update how you reference 
it in your ng-repeat. 
Find a fork of you fiddle here that does what you want.
http://jsfiddle.net/gordonk66/RVBB3/1/


Gordon

On Tuesday, June 17, 2014 8:31:25 PM UTC-5, Prashanth Baht wrote:
>
> I am using angular js -1.2
>
> I have a html page which is having input type =text
>
> <input type="text" ng-model="todo.policy.polno"  size="16"
>          placeholder="policy no" ng-value="{{todo.policy.polno}}"> 
>
> my DATA looks like this
>
>   $scope.todo= [
>     {
>   "policy": {
>     "polno": "VPC000111568954",
>     "product code": "VPC",
>     "date": "17/02/1990",........
>     }
>     ]
>
> on load i want to display "VPC000111568954" in textbox1 "vpc" in textbox2 
> etc there are many text boxes and and i have object inside object also in 
> JSON
>
>
> stackoverflow:
> http://stackoverflow.com/questions/24270410/how-to-map-values-from-json-to-angular-viewhtml-input-text-tags/
>
> jsfiddle: http://jsfiddle.net/hyR2p/
>

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