angular @fortawesome/font awesome-free code example
Example: npm font awesome 5 angular 7
# See Compatibility table below to choose a correct version
$ ng add @fortawesome/angular-fontawesome@<version>
# See Compatibility table below to choose a correct version
$ ng add @fortawesome/angular-fontawesome@<version>