/angularjs-best-practices-example

An example project with best practices for Angular 1.x version

Primary LanguageJavaScriptMIT LicenseMIT

angularjs-best-practices-example

An example project with best practices for Angular 1.x version

Getting Started

To get you started you can simply clone the repository and install the dependencies:

Prerequisites

First, ensure you have the following installed:

  1. NodeJS - Download and Install NodeJS
  2. Git - Download and Install Git

After that, use Git bash to run all commands if you are on Windows platform.

Clone the repository

git clone https://github.com/luixaviles/angularjs-best-practices-example.git
cd angularjs-best-practices-example

Run the project

To run the demo project locally, just install dependencies and run the application:

$ npm install
$ npm start

Now browse to the app at http://localhost:8000.

Testing

Running Unit Tests

The easiest way to run the unit tests is to use the supplied npm script:

npm test