I\'m trying to build angular2 application for production for that I\'m following this blog. After my ngc successful compilation when the
I got this when I declared private injectables in the constructor:
constructor(private service: SpecificObjectService) { }
And used them in the template:
*ngFor="let pd of service.listSpecificObject "
The solution is:
constructor(public service: SpecificObjectService) { }