I am able to do something similar everywhere else, but not with checkboxes. What am I missing here?
My json looks like this:
{
"data": [
{
"id": 1,
"tags": [
"tag1",
"tag2"
],
...a bunch of other stuff...
},
{
"id": 2,
"tags": [
"tag1",
"tag2",
"tag3",
"tag4"
],
...a bunch of other stuff...
}
]
}
And my HTML (Angular) looks like this:
<div ng-repeat="tag in ::vm.media.tags track by $index">
<md-checkbox >
{{tag.tags}}
</md-checkbox>
</div>
I am having a hard time getting the actual text or name of the tags to show next to the checkbox. ALl I am getting is the checkboxes alone as the image shows below
Thanks in advance
