redirect based on myng-code, however doesn't appear to be working