make the manage email more angularjs-esque