update angular to 1.2.12, fix bug where tests wouldn't pass