A CodePen by Daniel López. Using model aggregation and inheritance in AngujarJS