This project is an example of embedding paypal-button angular component in a project generated with Angular CLI version 1.3.2.
Due to the fact that paypal-button angular component is loaded at runtime via script tag, ahead if time compilation cannot be used to build this project.
ng serve
ng build -aot false
ng build -aot false -prod
ng serve -aot false -prod