update angularjs test example, mocha http test example