Fixed the Angular bugs and updated the React code
to remove deprecated code.