Remove useless views in Angular