Angular Moment - Change Locale with customized locale object
<p>I'm having issues configuring a locale change in my Angular app. I'm using <a href="https://github.com/urish/angular-moment" rel="nofollow">Angular Moment</a> and Moment.js</p>

<p>First, I'm setting the locale to english in my angular.module.config and immediately setting the relative time object as I need:</p>

<pre><code>            moment.locale('en', {
                relativeTime: {
                    future: "In %s",
                    past: "%s ago",
                    s: "&lt;1 minute",
                    m: "1 minute",
                    mm: "%d minutes",
                    h: "1 hour",
                    hh: "%d hours",
                    d: "24 hours",
                    dd: "%d days",
                    M: "1 month",
                    MM: "%d months",
                    y: "1 year",
                    yy: "%d years"
                }
            });
</code></pre>

<p>This works as intended,</p>

<p>Now I also have an equal object but for german. I don't know where to drop it because if I drop it in the config it overrides the english config.</p>

<p>Then I have a select dropdown in a header menu view with EN and DE (I'm already getting it to lower case for translations) in my controller and I can't seem to associate the <code>amMoment.changeLocale('de');</code> to change the moment part to german, and I can't seem to update it with moment directly as well.</p>

<p>How can I achieve this?</p>