Improving angular application step by step example