WIP: remove ngdefine from cockpit ui