title: how to set domain for angularJS $cookies
body: <p>It seems <a href="http://docs.angularjs.org/api/ngCookies.$cookies" rel="noreferrer">$cookies</a> only allows to set the Key/Value pair.</p>
  
  <p>But i need to set the domain parameter as well. I need to set the cookie from one subdomain of website and use it from all subdomains of website.</p>
  
  <p>I am using the angularJS and Twitter Bootstrap.</p>