Code examples to remind me how to do certain angular stuff