0

I have a list of objects, with two properties: name and status. name does not change, while status does.

I am displaying them in the follwoing fashion:

<div ng-repeat="obj in objects">
   <div>{{obj.name}}</div>
   <div>{{obj.status}}</div>
<div>

But clearly the data binding created for obj.name is unnecessary. How can I avoid its creation (while still having a binding created for status?

mpm
  • 20,148
  • 7
  • 50
  • 55
jfu
  • 1,700
  • 1
  • 22
  • 31

0 Answers0