Update to 'controller as' syntax in the main controller