O'Reilly logo

CoffeeScript Application Development Cookbook by Mike Hatfield

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with AngularJS

AngularJS is a fully featured client-side MVC framework from Google. Its popularity has exploded in recent months.

Tip

For more information on AngularJS, you can visit the project home page at http://angularjs.org/.

In this section, we will demonstrate how CoffeeScript can be used to create the various building blocks of an Angular application including the following:

  • Creating an Angular application module
  • Creating Angular controllers
  • Creating Angular providers
  • Creating Angular directives
  • Creating Angular routers
  • Handling inter-controller events

Creating an Angular application module

In Angular, the application module contains all of our applications controllers, services, directives, and routing. This allows us to limit the scope ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required