Added SPA app on angular to the index file. Also added rest api to the web server for angular app's ajax queries.