This example application demonstrates the handling of server-side validation errors with Rails and Angular 2.
Prepare backend and start Rails development server (supposing you have Ruby/Bundler available):
cd backend
bundle
rails db:migrate
rails s
Prepare frontend and start Webpack development server (supposing you have Node/NPM installed):
cd frontend
npm install
npm start
Visit the app in your browser: