don't use ng. Run the gulp task - if in doubt run
gulp prod
to create the production code. Make sure to copy the created code into your shadow folder matching original position www/modules/front2/..
Server then reads the code replaces all <?php ... ?> with traanslations and delivers the modified result to browser.