server.js update for angular