Code samples for the book: MEAN Machine