divide controllers and directives in to different javascripts