cleaning up the angular templates and snippets