Looking for guidance with angularjs as a beginner, I'm interested in creating a dynamic menu using JSON array.
{
"Pages": [{
"PageId": 1,
"PageTitle": "Home",
"PageContent": "Home Page Content",
"MenuType": "MainMenu",
"ParentMenu": null,
"PageStatus": "Active",
"PageType": true
}, {
"PageId": 2,
"PageTitle": "About",
"PageContent": "about content",
"MenuType": "SubMenu",
"ParentMenu": Home,
"PageStatus": "Active",
"PageType": true
}, {
"PageId": 3,
"PageTitle": "Contact",
"PageContent": "Contact Us Content",
"MenuType": "MainMenu",
"ParentMenu": null,
"PageStatus": "Active",
"PageType": true
}]
}
I envision the menu structure to be:
- Home
- About
- Contact
Your assistance and insights would be highly appreciated. Thank you!