Transfers on PHP + AngularJS + TypeScript