Sample typescript code that demostrated the power or OOP with typescript to leverage angular framework