json - Menu using AngularJS -
json - Menu using AngularJS -
i need create menu using angularjs based on json file looks like:
{ "menu": [{ "id": "1", "name": "movies", "parent_id": "0" }, { "id": "2", "name": "trailers", "parent_id": "1" }, { "id": "3", "name": "action , adventure", "parent_id": "1" }, { "id": "4", "name": "animation", "parent_id": "3" }, { "id": "5", "name": "kids", "parent_id": "0" }] }
the list should looks like:
movies trailers action , adventure animation kidsi don't know how create this, help great.
please go through link, need have tree construction in angularjs. go through link, hope help!
json angularjs
Comments
Post a Comment