Can I use entered value through ng-model to populate angular ng grid?
问题 This plunker populates a static Html Table correctly based on a search for 'Tim' (Json Data). var arrItem = []; angular.forEach($scope.items, function (item) { if(item.fname === enteredValue.firstName || item.lname === enteredValue.lastName ||item.address === enteredValue.address && item.phone === enteredValue.phone){ arrItem.push({ first: item.fname, last: item.lname, address: item.address, phone: item.phone }); Now I want to place this data in a NG-Grid. This plunker attempts to load this