title: Angular Not Display Font Awesome Icons
body: <p>I've installed font awesome and added the FontAwesomeModule to the imports for app.module.ts. I'm trying to add an icon to a component within this module and it still says that &quot;fa-icon&quot; is not a known element:</p>
  <p>&quot;'fa-icon' is not a known element:</p>
  <ol>
  <li>If 'fa-icon' is an Angular component, then verify that it is part of this module.</li>
  <li>If 'fa-icon' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.&quot;</li>
  </ol>
  <p>All of the answers I see out there are because the FontAwesomeModule isn't added to the imports of the module containing the component and icon. This isn't the case and I'm looking for the reason why it is still not recognized.</p>
  <p>courses.component.html:</p>
  <pre><code>&lt;div class=&quot;course&quot;&gt;
   &lt;h3&gt;{{ course.title }}&lt;/h3&gt;
   &lt;fa-icon icon=&quot;{{ faCoffee }}&quot;&gt;&lt;/fa-icon&gt;
   &lt;p&gt;Students: {{ course.students | number }}&lt;/p&gt;
   &lt;p&gt;Rating: {{ course.rating | number: &quot;.2-2&quot; }}&lt;/p&gt;
   &lt;p&gt;Price: {{ course.price | currency: &quot;USD&quot;:true:&quot;.2-2&quot; }}&lt;/p&gt;
   &lt;p&gt;Release Date: {{ course.releaseDate | date: &quot;shortDate&quot; }}&lt;/p&gt;
   &lt;p&gt;Description: &lt;span class=&quot;desc&quot;&gt;{{ course.description | summary }}&lt;/span&gt;&lt;/p&gt;
   &lt;button (click)=&quot;fullDesc()&quot; class=&quot;btn btn-primary&quot;&gt;Learn More&lt;/button&gt;
  &lt;/div&gt;
  </code></pre>
  <p>courses.component.ts:</p>
  <pre><code>import { CoursesService } from './../courses.service';
  import { Component, OnInit } from '@angular/core';
  import { faCoffee } from '@fortawesome/free-solid-svg-icons';
  
  @Component({
    selector: 'app-courses',
    templateUrl: './courses.component.html',
    styleUrls: ['./courses.component.css']
  })
  export class CoursesComponent implements OnInit {
    faCoffee = faCoffee;
    course = {
    title: &quot;The Complete Music Course&quot;,
    rating: 4.434,
    students: 32354,
    price: 132.99,
    releaseDate: new Date(2016, 4, 1),
    description: &quot;The Music Theory course is designed to enhance music skills and basic music fundamentals. Throughout the course of the year students will study basic notation, scales, key signatures, intervals, triads, cadences, non-chord tones, form, part-writing and analysis of a score.&quot;
  }
  </code></pre>
  <p>app.module.ts:</p>
  <pre><code>import { SummaryPipe } from './summary.pipe';
  import { NgModule } from '@angular/core';
  import { BrowserModule } from '@angular/platform-browser';
  
  import { AppRoutingModule } from './app-routing.module';
  import { AppComponent } from './app.component';
  import { FormsModule } from '@angular/forms';
  import { CoursesComponent } from './courses/courses.component';
  import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
  
  @NgModule({
  declarations: [
    AppComponent,
    CoursesComponent,
    SummaryPipe
  ],
  imports: [
    BrowserModule,
    AppRoutingModule,
    FormsModule,
    FontAwesomeModule
  ],
  providers: [],
  bootstrap: [AppComponent]
  })
  export class AppModule {
  }
  </code></pre>