allows CORS on client side
adds AngularJS factories to project
services for controllers