Fixed a couple console errors.

The language selection changes make it so that the reference language
is sometimes null.
Update angular to 1.2.7.

I originally did this to try to fix the loading issue.  It didn't
help, but it seems like upgrading makes sense anyway.
Merge pull request #1912 from pculture/editor-fixes

Editor fixes