title: Detecting users locale for dates with angular/momentjs
body: <p>I have used angular date filter to format and display dates in <code>medium</code> format. However, how can I automatically detect what locale user have and configure angular to display the correct date format for that particular Country and language? User will not be able to change language in the application, only through configurations in browser (I guess). So its ok to refresh in order to reflect the changes.</p>
  
  <p>Im also using momentjs for other date-functions, but has not used it for this purpose. Maybe I should?</p>
  
  <p>The frontend application is served by nodejs and REST services are used between these two.</p>