javascript - adding extra html tags within angularjs loop -


i need add html tags within angularjs loop so:

 <div ng-repeat="fixture in fixtures.fixtures ">         <tr>           <th class="date" colspan="5">{{fixture.date | cmdate:'mm/dd/yyyy'}}</th>         </tr>         <tr>           <td>{{teamname(fixture.hometeam) }}</td>           <td>&nbsp;{{score(fixture.goalshometeam)}}</td>           <td>-</td>           <td>{{score(fixture.goalsawayteam)}}&nbsp;</td>           <td>{{teamname(fixture.awayteam)}}</td>         </tr>   </div> 

however no data retrieved when that, if have coded follows work:

   <tr ng-repeat="fixture in fixtures.fixtures ">               <td>{{fixture.date | cmdate:'mm/dd/yyyy'}}</td>               <td>{{teamname(fixture.hometeam) }}</td>                <td>&nbsp;{{score(fixture.goalshometeam)}}</td>               <td>-</td>               <td>{{score(fixture.goalsawayteam)}}&nbsp;</td>               <td>{{teamname(fixture.awayteam)}}</td>       </tr> 

what problem?


Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -