Fixed server script and updated to latest angular