Revert "Revert "Clean up the angular code and brand it with startup wichita""

This reverts commit ae1e50ef4fc3499c96768dc35699985782572ccc.
Fix Karma tests from JS cleanup