add map and testing angular switching classes