split angular controllers from views