Dynamically change locale for DatePipe in Angular 2 : <p>I'm making an Angular project where the user has the ability to switch languages. Is it possible to make the locale dynamic?</p>

<p>I have seen that you can add it in the NgModule but i'm guessing it's not dynamic when i put it there? Or can i change it somehow through a service or something?</p>
