AngularJs seperate array and string in HTML template

后端 未结 3 1914
北荒
北荒 2021-01-28 00:33

I have a little problem with creating a dynamic HTML template. To display some data in a table, I have to separate between an ordinary String and an Array. First things first: T

3条回答
  •  感情败类
    2021-01-28 00:52

    You have to do some script and html changes if the value is an array like this Updated fiddle here : jsfiddle.net/Lt024p9h/7/

提交回复
热议问题