update connection for work with angular 0.9.9