Convert CoffeeScript classes to AngularJS modules