Merge pull request #855 from inthause/documents

Update angular to 1.2.12
Fix edit document link in document picker
Some fixes