select ng -options="p2 as p2.name for p2 in vm.products" ... Here we bind the list of objects and the selected product id to the view model.
確定! 回上一頁