An example project with best practices for Angular 1.x version
To get you started you can simply clone the repository and install the dependencies:
First, ensure you have the following installed:
After that, use Git bash
to run all commands if you are on Windows platform.
git clone https://github.com/luixaviles/angularjs-best-practices-example.git
cd angularjs-best-practices-example
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
.
The easiest way to run the unit tests is to use the supplied npm script:
npm test