1//install
2npm install aos --save
3//inside the angular.json inside of 'build', look for the 'styles' and 'scripts'
4//inside them add:
5styles: [... "node_modules/aos/dist/aos.css"]
6scripts: [... "node_modules/aos/dist/aos.js"]
7
8//to add AOS for the entire project, at the top of app.component.ts add:
9
10import * as AOS from 'aos';
11
12ngOnInit(){
13AOS.init();
14}