Landing Page Controller
Shopping Page Controller
Checkout Page Controller
Landing Page Controller
Shopping Page Controller
Checkout Page Controller
Landing Header Ctrl
Landing Form Ctrl
Landing Form Ctrl
Landing State
Shopping Items Ctrl
Shopping Cart Ctrl
Shopping Filters Ctrl
Checkout Form Ctrl
Checkout Coupon Ctrl
Checkout Upsell Ctrl
Shopping State
Checkout State
angular.module("app", []).controller("ShoppingController", function($scope) {
// This is your constructor function.
// Anything you do here should be bootstrapping
// The initial state of your app
// Anything added to the $scope object is available to the view
$scope.boundValue = "Initial Value for boundValue";
});
├── assets
│ ├── css
│ ├── images
│ └── js
│ ├── appConstructor.js // Handles creation of the application (ng-app)
│ ├── checkout // Everything for the 'checkout' state
│ │ ├── checkoutController.js
│ │ └── priceService.js
│ ├── routing // Setup the routes, point them to controllers
│ │ └── angularRoutes.js
│ └── shopping // Handles everything in the 'shopping' state
│ ├── cartDirective.js
│ └── shoppingController.js
// Below here is SERVER SIDE STUFF
├── controllers
├── models
└── views