increased timeout in angularjs and php api wrapper