title: PrimeNG Schedule on WebPack Angular 2
body: <p>Is there anybody out there that has gotten the PrimeNG schedule to work a webpack angular 2 app? Like <a href="https://stackoverflow.com/questions/37447536/primeng-schedule-with-angular2-webpack">this</a> oak I couldnt get it working, unlike him I still cant.</p>
  
  <p>In my vendor.ts i load the required libs:</p>
  
  <pre><code>require('script!../node_modules/jquery/dist/jquery.js');
  require('script!../node_modules/moment/moment.js');
  require('script!../node_modules/fullcalendar/dist/fullcalendar.js');
  </code></pre>
  
  <p>In my component i import the schedule from primeng</p>
  
  <pre><code>import {Schedule} from 'primeng/components/schedule/schedule';
  </code></pre>
  
  <p>and add the directive</p>
  
  <pre><code> directives : [Schedule]
  </code></pre>
  
  <p>and in my view </p>
  
  <pre><code>&lt;p-schedule [events]="events"&gt;&lt;/p-schedule&gt;
  </code></pre>
  
  <p>It tunes me that this.schedule.fullCalendar is not a function. in the schedule.js.</p>
  
  <p>PS: Before i tried to insert the schedule i inserted a button just to check if my Prime is hooked up properly, it looked 100%</p>
  
  <p>If anybody can help me please, im at my wits end</p>
  
  <p>Thanks</p>