Moved controller to route config instead of in the html