added angular routes and controllers