GitHub - manosim/angular-project-template: An angular project template.

A clean Angular project template.

Dependencies

  • Angular 1.3.15 (More)
  • UI Router 0.2.13 (More)
  • Boostrap 3.3.4 (LESS) (More)
  • Font Awesome 4.3.0 (More)

Install

To begin cd into the project directory and install the dependecies. Make sure your also have grunt-cli.

npm install -g grunt-cli
npm install

Run

One of the dependecies is grunt-contrib-connect. It allows you to simply serve your project to your browser:

Tests

There is only a jshint test. Also there is a .travis.yml file if you want to run jshint with every commit. To run the test locally:

Grunt Plugins

  • grunt (More)
  • grunt-contrib-watch (More)
  • grunt-contrib-copy (More)
  • grunt-contrib-concat (More)
  • grunt-contrib-less (More)
  • grunt-contrib-jshint (More)
  • grunt-contrib-connect (More)

Files Struture

project-name/
	-- build
    -- node_modules/
	-- src
        -- images/
        -- js/
            -- apps/
            -- controllers/
                about.js
                header.js
                home.js
            -- directives/
                example.js
            app.js
            controllers.js
            directives.js
        -- less/
        -- templates
            about.html
            home.html
        -- index.html
    .gitignore
    .travis.yml
    Gruntfile.js
    package.json
    README.md