removed the change attr from ngSwitch and updated spec