Update angularjs version to v1.2.3

Update angularjs version to v 1.2.3
Also fix depreciation warnings with mocha and Rails4.