Included error detection and display for warnings to user
Connected server side to AngularJS and fixed routing for compatibility