angular.module('ngMsgpack', []).config(function($provide, $httpProvider) { // リクエストするときに余計なことをさせないようにする&オブジェクトはmessagepack形式に変換 $httpProvider.transformRequest = [function(data) { switch (Object.prototype.toString(data)) { case '[object Uint8Array]': case '[object Int8Array]': case '[object Uint16Array]': case '[object Int16Array]': case '[object Uint32Array]': case '[object Int32Array]': case '[ob