cleaning up angular controllers