How do I generate nested table in one column if it has list of values using angular js?

前端 未结 2 1987
悲哀的现实
悲哀的现实 2020-12-20 07:46

index.js

var app = angular.module(\'plunker\', []);

app.controller(\'MainCtrl\', function($scope) {
  $scope.name = \'World\';

  $scope.data =[{\"Id\":1,\"         


        
2条回答
  •  一整个雨季
    2020-12-20 08:19

    You write your markup this way:

    {{k}}
    {{sh}}
    {{sv}}
    {{value}}

    Full code: https://gist.github.com/anonymous/487956892d760c17487c

提交回复
热议问题