Modules, controllers, directives and magic