Book Image

AngularJS Web Application Development Blueprints

By : Vinci J Rufus
Book Image

AngularJS Web Application Development Blueprints

By: Vinci J Rufus

Overview of this book

If you are a web application developer interested in using AngularJS for a real-life project, then this book is for you. As a prerequisite, knowledge of JavaScript and HTML is expected, and a working knowledge of AngularJS is preferred.
Table of Contents (12 chapters)
11
Index

Creating our e-commerce app


Now that we have everything set up on the AWS side, let's start by building our AngularJS app.

As always, we will start by downloading the forked AngularJS Seed project from GitHub at https://github.com/areai51/angular-seed and getting it set up.

Before we run the npm install command, let's add a few more dependencies to our bower.json file to install angular-animate and angular-ui-router, as we are going to use these in our project.

Please modify your bower.json file as highlighted:

{
  "name": "angular-seed",
  "description": "A starter project for AngularJS",
  "version": "0.0.0",
  "homepage": "https://github.com/angular/angular-seed",
  "license": "MIT",
  "private": true,
  "dependencies": {
    "angular": "1.2.x",
    "angular-ui-router": "0.2.10",
    "angular-animate": "1.2.x",
    "angular-facebook": "",
    "angular-loader": "1.2.x",
    "angular-mocks": "~1.2.x",
    "html5-boilerplate": "~4.3.0"
  }
}

Tip

Alternatively, you could simply run the following...