An example in AngularJs of a mail inbox