broke js into files for factory, controllers, directive. broke html into partials