fix api response header for allow angularjs get data