A couple of simple steps to quickly create a nodejs angular application and host it on heroku.

  1. npm install -g yo
  2. yo angular
  3. develop the app
  4. use grunt to build the dist folder
  5. heroku create
  6. set buildpack:
heroku config:add BUILDPACK_URL=https://github.com/mbuchetics/heroku-buildpack-nodejs-grunt.git
heroku labs:enable user-env-compile
heroku config:set NODE_ENV=production
  1. heroku push