Struggling with AngularJS -


im new angularjs struggling getting data in array come out via scope view. have array , trying each specific item come out such 'costs summary job type'

any appreciated

here angular:

 $scope.lynchmenu = [   { menufunction: 'interact', menutext: 'job status ytd summary',                   menuobject: 'jobstatusytdsummary',                  menutype: 'report', menuactive: 1, menuorder: 1 },   { menufunction: 'interact', menutext: 'costs summary customer',                menuobject: 'costssummarybycustomer',               menutype: 'report', menuactive: 1, menuorder: 2 },   { menufunction: 'interact', menutext: 'costs summary job type',                menuobject: 'costssummarybyjobtype',                menutype: 'report', menuactive: 1, menuorder: 3 },   { menufunction: 'interact', menutext: 'costs summary management company',      menuobject: 'costssummarybymanagementcompany',      menutype: 'report', menuactive: 1, menuorder: 4 },   { menufunction: 'interact', menutext: 'wip summary management company',        menuobject: 'wipsummarybymanagementcompany',        menutype: 'report', menuactive: 1, menuorder: 5 },   { menufunction: 'interact', menutext: 'wip detail management company',         menuobject: 'wipdetailbymanagementcompany',         menutype: 'report', menuactive: 1, menuorder: 6 },   { menufunction: 'interact', menutext: 'incomplete jobs management company',    menuobject: 'incompletejobsbymanagementcompany',    menutype: 'report', menuactive: 1, menuorder: 7 },  ]; //lynchmenu layout 

here html

 <div class="panel-body">             <ul class="list-unstyled">              <li ng-repeat="menuobject in lynchmenu">                       {{menuobject}} <!--data-binding expression -->                 </li><!--list-->                   </ul><!--unordered list-->         </div><!--panel body--> 

you missing property name. try..

demo

<div class="panel-body">             <ul class="list-unstyled">              <li ng-repeat="menuobject in lynchmenu">                        {{menuobject.menutext}} <!--data-binding expression -->                  </li><!--list-->                   </ul><!--unordered list-->         </div><!--panel body--> 

Comments