Access-Control-Allow-Origin; Angular and microservices
<p>I have very simple Angular app that runs with Gulp on <code>http://localhost:3000/</code></p>

<p>and microservices developed by <a href="http://www.lagomframework.com/" rel="nofollow"><em>lagom</em></a> runs on <code>http://localhost:9000</code>.</p>

<blockquote>
  <p>Lagom is Framework built over Akka and PlayFramework with <code>build.sbt</code></p>
</blockquote>

<p>now when I want to fetch a list form microservice I face: </p>

<pre><code>XMLHttpRequest cannot load http://localhost:9000/api/users/list. 
No 'Access-Control-Allow-Origin' 
header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access.
</code></pre>

<p>Where should I enable CORS? on the angular or Lagom? should it be defined on <code>build.sbt</code>? </p>