Mail Application using AngularJS