A major refactor of the Tab example on the angular homepage