fixed angular error on email settings
Merge pull request #385 from pencilblue/PB381

fixed angular error on email settings