AngularJS - Child sub arrays not being returned from API call -



AngularJS - Child sub arrays not being returned from API call -

i using breeze web api controller retrieve menu items:

public iqueryable<menuitem> menuitems() { var result = _repository.menuitems.orderby(c => c.fk_dbmoduleid).thenby(d => d.ordernum); homecoming result; }

it beingness called angular mill service:

app.factory('menuitems', function ($http) { homecoming { all: function () { homecoming $http({ url: 'http://localhost:9669/api/breeze/menuitems', method: 'get' }); } }; });

i have menu items have submenu items:

they beingness returned api controller properly:

but angular ignoring submenu items:

i tried adding "isarray:true" http call, no success.

any suggestions on how kid submenus/sub arrays?

nevermind, info in parents submenus array

angularjs

Comments

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -