How to correctly register font-awesome for md-icon?
angular-material2
Solution
Add font awesome cdn link in your Index.html file:
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
Then try putting this code, It's working for me:
<md-icon class="fa fa-clock-o" aria-hidden="true"></md-icon>
<md-icon class="fa fa-bell" aria-hidden="true"></md-icon>
Problem
The documentation of md-icon describes how to use font-awesome in several parts and suggests we could use font-awesome eventually like ``` <md-icon fontSet="fa" fontIcon="alarm"></md-icon> ``` But the documentation is very confusing and I can hardly find a routine to register 3rd font set like font-awesome for md-icon via Google. Any help is appreciated! PS: I know the normal `<i>` way generally works but it doesn't seem working in some examples, where the md-icon is used originally.