added a few more snippets for angularjs