a little angular stuff to allow updates from google docs