Made the angular work and added HTMl and JS snippets for functionality