title: AngularJS + Moment + Timezone
body: <p>I am working on an Angularjs project and looking to generate dates according to user selected timezone. After lot of research, I found angular-moment.</p>
  
  <p>I tried to add moment.js, moment-timezone.js, angular-moment.js</p>
  
  <p>I added: </p>
  
  <pre><code>angular.module('main', [..., 'moment-picker', 'angularMoment']);
  </code></pre>
  
  <p>Then I injected moment in my service like this:</p>
  
  <pre><code>angular.module('main').service('UtilityServ', ['moment', 'CONSTANTS', function (moment, CONSTANTS) {
  </code></pre>
  
  <p>But none of the following lines works:</p>
  
  <pre><code>moment().tz()
  
  moment.tz()
  </code></pre>
  
  <p>In both cases, it says moment.tz is not a function whereas :</p>
  
  <pre><code>moment().format('YYYY-MM-DD HH:MM')
  </code></pre>
  
  <p>works fine</p>
  
  <p>Looks like angularMoment is using moment and not moment-timezone</p>