June 2014
Intermediate to advanced
696 pages
38h 52m
English
When the user clicks the Checkout button in the shopping cart, the shipping view appears, allowing the user to enter shipping information. The shipping view, shown in Listing 28.16, provides a series of input fields to input the shipping information.
The shipping template code is very straightforward. There are a series of text inputs with labels for each shipping field value. The fields are linked to the customer.shipping[0] object in the scope model, using the ng-model directive. When the user changes the field, the scope changes automatically. This is very useful when sending customer changes back to the database. When the user clicks the Continue to Billing button, the shipping data is updated on the server ...
Read now
Unlock full access