An example app that makes use of OOP concepts in AngularJS