The first time you try to set up a directive using a Coffeescript class, you might end up with something like this: class MyControllerName @$inject: ['my', 'services', 'here'] constructor: (@my, @services, @here) -> # constructor code angular.module('mymodule').controller 'MyControllerName', MyControllerName angular.module('mymodule').directive 'myDirective', -> return