Training AngularJS with an email app