make compatible with IE8 (delete method)

see http://tech.pro/tutorial/1238/angularjs-and-ie8-gotcha-http-delete