title: Execute CURL command inside Angular Test
body: <p>I need to run a simple shell command on OS level inside an angular service test which is running headless on phantomjs. </p>
  
  <p>It is needed because of testing CORS functionality (which is ignored by CMD in order to verify the test).</p>
  
  <p>I read about child_process, but it is a node functionality. How can I exec a shell command inside my Jasmine Typescript???</p>