angular/angular-seed — pull request #46 by Iszak (2013-01-30 22:09:52+00:00)
Title: Moved global controllers to module

The current developers guide advises against using global scope functions as controllers, because of this I have moved it to a module. I feel this also ties in better with how filters, directives and services are defined.

The following reference is seen on this url http://docs.angularjs.org/guide/dev_guide.mvc.understanding_controller

**NOTE**: Many of the examples in the documentation show the creation of functions in the global scope. This is only for demonstration purposes - in a real application you should use the .controller method of your Angular module for your application as follows: