Create ngSwitch.js