stack-angular

Default Angular.js Stack for Express/Connect

npm install stack-angular
4 downloads in the last week
13 downloads in the last month

stack-angular Build Status

Default Angular.js stack

Included Middleware

logger

Logs requests

favicon

Serves a favicon

static

Serves up static content. The parameters can be

  • Array of directories
  • Path of single directory

cdn

Serves angular from the google cdn. This can also be a string setting it to another location.

index

Routes all requests that don't get picked up before to a single index view

notFound

Set's the error to "Page not found" so the errorHandler can use it

errorHandler

Displays a error page

npm loves you