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.
No, I would also if possible but then it has wrong code from all the translation parts and part of them conatin important data needed to make it work as well.
Comments
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.
https://www.repetier-server.com/customizing-printer-frontend/
which shows the gulp commands and how to extend an existing component.