The AoT part was mainly referred to the project https://github.com/blacksonic/angular2-aot-webpack
Angular2 + PrimeNG + Webpack2 starter whith AoT support.
Download this repository and then install the packages:
$ git clone https://github.com/ooboqoo/primeng-webpack2-starter.git your-project-name
$ cd your-project-name
$ npm install
Run dev server:
$ npm start
Build:
$ npm run build
Test the build
$ npm run serve