No description, website, or topics provided.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
lib
src
.gitignore
.travis.yml
Gruntfile.js
README.md
package.json

README.md

Build Status devDependency Status

directives-workshop

About this workshop

This repository contains demo and exercises for the AngularJS directives workshop. During the workshop participants are going to build several AngularJS directives, mostly based on http://getbootstrap.com HTML and CSS.

The aim here is to go over several kinds of directives and illustrate typical coding and testing patterns.

Installation

Before proceeding with the instructions below make sure that you've got node.js (version 0.10.x) installed for your operating system: http://nodejs.org/download/. When you've got node.js and npm (comes with the node.js installation) set up npm dependencies of this project:

  • npm install -g grunt-cli
  • npm install
  • test your setup by running grunt

Demo

As soon as your environment is set up you can see directives demo by:

Development workflow

  • grunt tdd - for TDD development. This will watch source and test files running all the test on each change.
  • grunt - default build. This will lint the code and run all the tests.