As others have said, you need to initialize the client object.
Since there is no client set value on the controller, it is displayed as undefined in the view. When you enter values ββin the input fields, it will no longer be undefined, but since logging is performed only once initially, entering values ββin the input field has no effect
Plunger Demo
Here is the part I changed in script.js
lima3app.controller("CustomerController", function($scope){ $scope.customer = { address1 : 'address1', address2 : 'address2', city:'city' } console.log($scope.customer); });
adib.mosharrof
source share