AmgularJS common utilities & Code Snippets