added templates which are reusable components which can be injected into scope