NodeJS Setup in HTTP Server / Local Server
Step 1 - Download and Install NodeJS
download the latest stable release of NodeJS from https://nodejs.orgStep 2 - Install http-server package from npm Open command prompt / command window and enter the following
npm install -g http-serverStep 3 - Start web server from the directory
cd \projects\angular-form-exampleStep 4 - Start server with following command:
http-serverYou should see something like D:\project\angular-form-example>http-server Starting up http-server, serving ./ Available on: http://http://70.35.195.158:8080 http://127.0.0.1:8080 Hit CTRL-C to stop the server Open your browser and enter the following address http://localhost:8080