Application written according to the apress book "Pro AngularJS" by Adam Freeman