i have a json with array of object like this
questions = [
{
question: "What is your name?",
options: [
{
option1 : "Abc",
}, {
option2 : "Def"
}, {
option3 : "Ghi"
}, {
option4 : "Jkl"
}
]
},
{
question: "Where is your Home Town?",
options: [
{
option1: "Abc"
}, {
option2: "Def"
}, {
option3: "Ghi"
}, {
option4: "Jkl"
}
]
}
]
and on my view i want to render that json with ngFor like that
What is your name?
- Abc
- Def
- Ghi
- Jkl