A collection of useful AngularJS snippets