Complete the code to run the Angular development server.
ng [1]The ng serve command starts the Angular development server and serves your app locally.
Complete the command to serve the Angular app on a specific port 4201.
ng serve --port=[1]The --port option sets the port number for the Angular development server. Here, port 4201 is used.
Fix the error in the command to build the Angular app for production.
ng [1] --prodThe ng build --prod command builds the app optimized for production deployment.
Fill both blanks to serve the Angular app with live reload disabled and on host 0.0.0.0.
ng serve --host=[1] --live-reload=[2]
Setting --host=0.0.0.0 allows access from any network interface. Disabling live reload uses --live-reload=false.
Fill all three blanks to build the Angular app with output path 'dist/app', base href '/myapp/', and optimization enabled.
ng build --output-path=[1] --base-href=[2] --optimization=[3]
This command builds the app placing files in dist/app, sets the base URL to /myapp/, and enables optimization for smaller bundles.