title: Angular MomentDateTimeAdapter not building after angular 8 update
body: <p>after updating my angular project I faced some probles due to the breaking changes. Now I have got an Problem with my MomentDateTimeAdapter. I'm using <a href="https://www.npmjs.com/package/ng-pick-datetime-moment" rel="nofollow noreferrer">this</a> one.(/ng-pick-datetime-moment).</p>
  
  <p>My application is running perfectly in dev mode but as soon as i try to build productive (<code>ng build --prod</code>) Im getting this error:</p>
  
  <blockquote>
    <p>ERROR in
    ..\ng-pick-datetime-moment\moment-adapter\moment-date-time-adapter.class.ts(46,2):
    Error during template compile of 'MomentDateTimeAdapter'   Function
    calls are not supported in decorators but 'ɵmakeDecorator' was called
    in 'Injectable'
        'Injectable' calls 'ɵmakeDecorator'.</p>
  </blockquote>
  
  <p>I took every step described in the angular-update tutorial and updated all my dependencies. Does anyone know how to fix this?</p>