when adding products and price it was added in the table. how to set the added data and get the data in another view
routerApp.controller('products', function ($scope) {
$scope.items = [
];
$scope.addRow = function(){
$scope.items.push({'Products':$scope.Products,'Price':$scope.Price});
}
Aucun commentaire:
Enregistrer un commentaire