yeoman/generator-angular — pull request #3 by Munter (2012-12-09 18:08:49+00:00)
Title: Fix controller so it doesn't depend on globally scoped variables.

Minification breaks the current default generated app because the controller depends on the global `$scope`. To avoid this people have to either anotate their code or minify with non-standard command line switches.

This change remove the dependency on global variables and uses angulars way of passing the correct scope to the controller.