Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <table class="mytable">
- <tbody>
- <tr ng-repeat-start="i in [1,2,3,4,5]">
- <td>
- {{ i }}
- </td>
- </tr>
- <tr ng-repeat-end>
- <td>end</td> <!-- Works fine with just this -->
- <table-detail></table-detail> <!-- Does not work fine with just this -->
- </tr>
- </tbody>
- </table>
- directive:
- respectApp.directive('tableDetail', function() {
- return {
- restrict: 'E',
- template: '<td>999</td>',
- };
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement