In the "Create Components" section of AngularJS's homepage, there is this example: controller: function(