Migrating to angular, step 1

Migrated most of the panel’s code, still have the settings screen,
split pane and some minor issues left