Monday, December 16, 2013

an example of using the double curly brackets markup syntax in an AngularJS template

<table>
   <thead>
      <tr>
         <th>
            Mouse
         </th>
         <th>
            Vocals
         </th>
      </tr>
   </thead>
   <tbody>
      <tr ng-repeat="mouse in mice">
         <td>
            {{mouse.name}}
         </td>
         <td>
            {{mouse.squeak}}
         </td>
      </tr>
   </tbody>
</table>

No comments:

Post a Comment