Cleaning up existing Angular controllers and Flask
 REST calls.