make the manage meail more angularjs-esque