Simple button scroll top Angular Official Documentation: Angular To run this project, install it locally using npm or yarn: $ cd .../project $ $ npm install or $ yarn install $ ng serve -o