AngularJS tasks homepage with emailer