标签:
if($scope.jsList.length>0){ angular.forEach($scope.jsList,function(item){ if(item._id==jsid){ jsname = item.name; } }); } return jsname;
angular.forEach
原文地址:http://www.cnblogs.com/yshyee/p/4540343.html