$scope.html = [{
"name": "teste",
"data": [{
"tag": {
"name": "h1",
"text": "Titulo 1",
"colValue": ""
}
},
{
"tag": {
"name": "text",
"colValue": "col-xs-4"
}
}, {
"tag": {
"name": "h1",
"text": "Titulo 2",
"colValue": ""
}
},
{
"tag": {
"name": "text",
"colValue": "col-xs-4"
}
},
{
"tag": {
"name": "text",
"colValue": "col-xs-8"
}
}
]
}, {
"name": "teste",
"data": [{
"tag": {
"name": "h1",
"text": "Titulo 3",
"colValue": ""
}
},
{
"tag": {
"name": "text",
"colValue": "col-xs-4"
}
}
]
}];
I'm dynamically generating tags html
with javascript and using bootstrap
as framework
, however the second <h1>
tag is not going to a new line, you can see the example here:
link