title: Angular package work locally but not work after deploy
body: <p>I use <code>ng2-jalali-date-picker</code> and <code>jalali-moment</code> in angular application.</p>
  
  <p>my date picker work in local machine but i build and deploy application in server with this command : <code>ng build --prod</code> my components that contain date picker not loaded and my page not rendered.</p>
  
  <p>I get this errors only in server:</p>
  
  <blockquote>
    <p>ERROR TypeError: Cannot read property 'gregorian' of undefined</p>
    
    <p>ERROR TypeError: Cannot read property 'hideInputContainer' of
    undefined</p>
    
    <p>ERROR Error: Uncaught (in promise): TypeError: Cannot read property
    'format' of undefined</p>
  </blockquote>
  
  <p>I not any idea for this errors.</p>