title: dynamic subdomain with angularjs
body: <p>I am new to Angularjs and I would like to add dynamic subdomain such as <code>sub.domain.com</code>.
  By changing sub, I would be able to ask the proper data from the server. However, the home page will still be the same. </p>
  
  <p><code>sub1.domain.com</code> and <code>sub2.domain.com</code> will have the same <code>home.tpl.html</code> page except that the data returned will be specific to the domain.<br>
  It will be the same for other pages too.</p>
  
  <p>Is there a way to do that?</p>