Im trying to put the name property of an array into an input box . The array is same one used to supply data points to a serial chart. it works fine
my code:
<input type="text" ng-model="ch1Name" ng-init="ch1Name={{points[0].name}}" size="10" >
if i use {{points[0].name}} just by itself in a <div> it does display the name property but i want it in an input box.