This repository was archived by the owner on Mar 26, 2018. It is now read-only.

Description
Running
yo angular:controller page --coffee --minsafe
Creates this:
'use strict'
angular.module('testApp')
.controller ['$scope', 'PageCtrl', ($scope) ->
$scope.awesomeThings = [
'HTML5 Boilerplate',
'AngularJS',
'Testacular'
]
]
It should be:
'use strict'
angular.module('testApp')
.controller 'PageCtrl', ['$scope', ($scope) ->
$scope.awesomeThings = [
'HTML5 Boilerplate',
'AngularJS',
'Testacular'
]
]
'PageCtrl' is the name of the controller being registered (not a service being injected), it should therefore be the first argument to .controller() and should appear outside of the array.