Check out the detailed tutorial on how to post data from Angular to Node REST API
Clone the git repository, navigate to the angular app, install the dependencies and start the server.
git clone https://github.com/codehandbook/angular-post-data.git
cd angular-post-data/angular_app
npm install
npm start
Navigate to the Node API folder, install dependencies and start the Node server.
cd angular-post-data/api
npm install
node app.js
The Angular app will be running at http://localhost:4200 and the Node REST API will be running at http://localhost:3000.