*Hi Sander*
*as you see i try it here :*
// save to database
$scope.save = function () {
$http.post("/api/customerService",
$scope.invoice.items).success(function
(data) {
$scope.invoice.items.push(data);
});
};
*but i can't any data from view in my controller ?!*
On Tuesday, May 26, 2015 at 8:36:33 AM UTC+2, Sander Elias wrote:
>
> Hi Ahmed,
>
> You want your server model updated? look into $http and/or $resource.
>
> Regards
> Sander
>
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.