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

Commit 1486af1

Browse files
fix(gen): revert issues introduced in #1041
1 parent 53bc3b2 commit 1486af1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/coffeescript/controller.coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Controller of the <%= scriptAppName %>
99
###
1010
angular.module '<%= scriptAppName %>'
11-
.controller '<%= classedName %>Ctrl', () ->
11+
.controller '<%= classedName %>Ctrl', ->
1212
@awesomeThings = [
1313
'HTML5 Boilerplate'
1414
'AngularJS'

templates/javascript/controller.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*/
1010
angular.module('<%= scriptAppName %>')
1111
.controller('<%= classedName %>Ctrl', function () {
12-
@awesomeThings = [
12+
this.awesomeThings = [
1313
'HTML5 Boilerplate',
1414
'AngularJS',
1515
'Karma'

0 commit comments

Comments
 (0)