Teach ng-switch-when understand expressions

I needed this for a project and I would like to contribute it so everyone can use it.