A simple controller and view using rails and angular