EWS Network with Angular JS