Fix coffeescript/angular minification bug

http://stackoverflow.com/a/12931548/1026980