Remove a form from the page
Use 'then' for callback in REST service
Change name of functions in controller