email application using angular.js