FontAwesome not working with Angular using spans
I am new to Angular, so bear with me.
I am trying to use FontAwesome in my project. Initially I had it loaded via CDN, but I want to use it properly.
So I have imported the FontAwesomeModule
into my WidgetModule
. Which looks like this:
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { WidgetRoutingModule } from './widget-routing.module';
import { SharedModule } from '@pyb-shared/shared.module';
import { WidgetComponent } from './widget.component';
import { ScenariosComponent } from './scenarios/scenarios.component';
import { QuestionsComponent } from './questions/questions.component';
import { AnswersComponent } from './answers/answers.component';
import { ResultsComponent } from './results/results.component';
import { AnswerButtonComponent } from './shared/answer-button/answer-button.component';
import { HeaderComponent } from './shared/header/header.component';
import { LoadingButtonComponent } from './shared/loading-button/loading-button.component';
import { MainProductComponent } from './shared/main-product/main-product.component';
import { MatchesComponent } from './shared/matches/matches.component';
import { ProductComponent } from './shared/product/product.component';
import { QuestionSplitComponent } from './shared/question-split/question-split.component';
import { AnswersService } from './answers/answers.service';
import { QuestionsService } from './questions/questions.service';
import { ResultsService } from './results/results.service';
import { ScenariosService } from './scenarios/scenarios.service';
import { AnswerMatchService } from './shared/answer-match.service';
import { DuplicateService } from './shared/duplicate.service';
import { FilterService } from './shared/filter.service';
import { FormulaService } from './shared/formula.service';
import { MatchesService } from './shared/matches.service';
import { PickService } from './shared/pick.service';
import { QuestionSplitService } from './shared/question-split/question-split.service';
import { StateService } from './shared/state.service';
import { WidgetService } from './widget.service';
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
import { library } from '@fortawesome/fontawesome-svg-core';
import { faSquare, faCheckSquare } from '@fortawesome/pro-solid-svg-icons';
@NgModule({
imports: [
CommonModule,
WidgetRoutingModule,
SharedModule,
FontAwesomeModule
],
declarations: [
WidgetComponent,
ScenariosComponent,
QuestionsComponent,
AnswersComponent,
ResultsComponent,
AnswerButtonComponent,
HeaderComponent,
LoadingButtonComponent,
MainProductComponent,
MatchesComponent,
ProductComponent,
QuestionSplitComponent
],
providers: [
AnswersService,
QuestionsService,
ResultsService,
ScenariosService,
AnswerMatchService,
DuplicateService,
FilterService,
FormulaService,
MatchesService,
PickService,
QuestionSplitService,
StateService,
WidgetService
]
})
export class WidgetModule {
constructor() {
console.log('WidgetModule loaded.');
library.add(faSquare, faCheckSquare);
}
}
I want to show two icons on my component, so you can see in the module above I have added faSquare and faCheckSquare.
In my component (which is called ScenariosComponent), I just have this span:
<span class="fas fa-square"></span>
From the link I provided above, and looking at this:
https://github.com/FortAwesome/angular-fontawesome
It looks like it should work.
I have the FontAwesomeModule imported, the ScenariosComponent has the WidgetModule as its parent module, so it should just work.
According to this line:
Icons added to the library will be available to any other component whose parent module also imports FontAwesomeModule.
And I do have my library set up in my module. Which should work within that module, at least in my understanding.
Am I doing this right?
angular font-awesome angular-fontawesome
add a comment |
I am new to Angular, so bear with me.
I am trying to use FontAwesome in my project. Initially I had it loaded via CDN, but I want to use it properly.
So I have imported the FontAwesomeModule
into my WidgetModule
. Which looks like this:
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { WidgetRoutingModule } from './widget-routing.module';
import { SharedModule } from '@pyb-shared/shared.module';
import { WidgetComponent } from './widget.component';
import { ScenariosComponent } from './scenarios/scenarios.component';
import { QuestionsComponent } from './questions/questions.component';
import { AnswersComponent } from './answers/answers.component';
import { ResultsComponent } from './results/results.component';
import { AnswerButtonComponent } from './shared/answer-button/answer-button.component';
import { HeaderComponent } from './shared/header/header.component';
import { LoadingButtonComponent } from './shared/loading-button/loading-button.component';
import { MainProductComponent } from './shared/main-product/main-product.component';
import { MatchesComponent } from './shared/matches/matches.component';
import { ProductComponent } from './shared/product/product.component';
import { QuestionSplitComponent } from './shared/question-split/question-split.component';
import { AnswersService } from './answers/answers.service';
import { QuestionsService } from './questions/questions.service';
import { ResultsService } from './results/results.service';
import { ScenariosService } from './scenarios/scenarios.service';
import { AnswerMatchService } from './shared/answer-match.service';
import { DuplicateService } from './shared/duplicate.service';
import { FilterService } from './shared/filter.service';
import { FormulaService } from './shared/formula.service';
import { MatchesService } from './shared/matches.service';
import { PickService } from './shared/pick.service';
import { QuestionSplitService } from './shared/question-split/question-split.service';
import { StateService } from './shared/state.service';
import { WidgetService } from './widget.service';
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
import { library } from '@fortawesome/fontawesome-svg-core';
import { faSquare, faCheckSquare } from '@fortawesome/pro-solid-svg-icons';
@NgModule({
imports: [
CommonModule,
WidgetRoutingModule,
SharedModule,
FontAwesomeModule
],
declarations: [
WidgetComponent,
ScenariosComponent,
QuestionsComponent,
AnswersComponent,
ResultsComponent,
AnswerButtonComponent,
HeaderComponent,
LoadingButtonComponent,
MainProductComponent,
MatchesComponent,
ProductComponent,
QuestionSplitComponent
],
providers: [
AnswersService,
QuestionsService,
ResultsService,
ScenariosService,
AnswerMatchService,
DuplicateService,
FilterService,
FormulaService,
MatchesService,
PickService,
QuestionSplitService,
StateService,
WidgetService
]
})
export class WidgetModule {
constructor() {
console.log('WidgetModule loaded.');
library.add(faSquare, faCheckSquare);
}
}
I want to show two icons on my component, so you can see in the module above I have added faSquare and faCheckSquare.
In my component (which is called ScenariosComponent), I just have this span:
<span class="fas fa-square"></span>
From the link I provided above, and looking at this:
https://github.com/FortAwesome/angular-fontawesome
It looks like it should work.
I have the FontAwesomeModule imported, the ScenariosComponent has the WidgetModule as its parent module, so it should just work.
According to this line:
Icons added to the library will be available to any other component whose parent module also imports FontAwesomeModule.
And I do have my library set up in my module. Which should work within that module, at least in my understanding.
Am I doing this right?
angular font-awesome angular-fontawesome
Do you have apro-licensed
version? You seem to be using icons that are a part of the pro version.
– SiddAjmera
Nov 23 '18 at 16:49
add a comment |
I am new to Angular, so bear with me.
I am trying to use FontAwesome in my project. Initially I had it loaded via CDN, but I want to use it properly.
So I have imported the FontAwesomeModule
into my WidgetModule
. Which looks like this:
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { WidgetRoutingModule } from './widget-routing.module';
import { SharedModule } from '@pyb-shared/shared.module';
import { WidgetComponent } from './widget.component';
import { ScenariosComponent } from './scenarios/scenarios.component';
import { QuestionsComponent } from './questions/questions.component';
import { AnswersComponent } from './answers/answers.component';
import { ResultsComponent } from './results/results.component';
import { AnswerButtonComponent } from './shared/answer-button/answer-button.component';
import { HeaderComponent } from './shared/header/header.component';
import { LoadingButtonComponent } from './shared/loading-button/loading-button.component';
import { MainProductComponent } from './shared/main-product/main-product.component';
import { MatchesComponent } from './shared/matches/matches.component';
import { ProductComponent } from './shared/product/product.component';
import { QuestionSplitComponent } from './shared/question-split/question-split.component';
import { AnswersService } from './answers/answers.service';
import { QuestionsService } from './questions/questions.service';
import { ResultsService } from './results/results.service';
import { ScenariosService } from './scenarios/scenarios.service';
import { AnswerMatchService } from './shared/answer-match.service';
import { DuplicateService } from './shared/duplicate.service';
import { FilterService } from './shared/filter.service';
import { FormulaService } from './shared/formula.service';
import { MatchesService } from './shared/matches.service';
import { PickService } from './shared/pick.service';
import { QuestionSplitService } from './shared/question-split/question-split.service';
import { StateService } from './shared/state.service';
import { WidgetService } from './widget.service';
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
import { library } from '@fortawesome/fontawesome-svg-core';
import { faSquare, faCheckSquare } from '@fortawesome/pro-solid-svg-icons';
@NgModule({
imports: [
CommonModule,
WidgetRoutingModule,
SharedModule,
FontAwesomeModule
],
declarations: [
WidgetComponent,
ScenariosComponent,
QuestionsComponent,
AnswersComponent,
ResultsComponent,
AnswerButtonComponent,
HeaderComponent,
LoadingButtonComponent,
MainProductComponent,
MatchesComponent,
ProductComponent,
QuestionSplitComponent
],
providers: [
AnswersService,
QuestionsService,
ResultsService,
ScenariosService,
AnswerMatchService,
DuplicateService,
FilterService,
FormulaService,
MatchesService,
PickService,
QuestionSplitService,
StateService,
WidgetService
]
})
export class WidgetModule {
constructor() {
console.log('WidgetModule loaded.');
library.add(faSquare, faCheckSquare);
}
}
I want to show two icons on my component, so you can see in the module above I have added faSquare and faCheckSquare.
In my component (which is called ScenariosComponent), I just have this span:
<span class="fas fa-square"></span>
From the link I provided above, and looking at this:
https://github.com/FortAwesome/angular-fontawesome
It looks like it should work.
I have the FontAwesomeModule imported, the ScenariosComponent has the WidgetModule as its parent module, so it should just work.
According to this line:
Icons added to the library will be available to any other component whose parent module also imports FontAwesomeModule.
And I do have my library set up in my module. Which should work within that module, at least in my understanding.
Am I doing this right?
angular font-awesome angular-fontawesome
I am new to Angular, so bear with me.
I am trying to use FontAwesome in my project. Initially I had it loaded via CDN, but I want to use it properly.
So I have imported the FontAwesomeModule
into my WidgetModule
. Which looks like this:
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { WidgetRoutingModule } from './widget-routing.module';
import { SharedModule } from '@pyb-shared/shared.module';
import { WidgetComponent } from './widget.component';
import { ScenariosComponent } from './scenarios/scenarios.component';
import { QuestionsComponent } from './questions/questions.component';
import { AnswersComponent } from './answers/answers.component';
import { ResultsComponent } from './results/results.component';
import { AnswerButtonComponent } from './shared/answer-button/answer-button.component';
import { HeaderComponent } from './shared/header/header.component';
import { LoadingButtonComponent } from './shared/loading-button/loading-button.component';
import { MainProductComponent } from './shared/main-product/main-product.component';
import { MatchesComponent } from './shared/matches/matches.component';
import { ProductComponent } from './shared/product/product.component';
import { QuestionSplitComponent } from './shared/question-split/question-split.component';
import { AnswersService } from './answers/answers.service';
import { QuestionsService } from './questions/questions.service';
import { ResultsService } from './results/results.service';
import { ScenariosService } from './scenarios/scenarios.service';
import { AnswerMatchService } from './shared/answer-match.service';
import { DuplicateService } from './shared/duplicate.service';
import { FilterService } from './shared/filter.service';
import { FormulaService } from './shared/formula.service';
import { MatchesService } from './shared/matches.service';
import { PickService } from './shared/pick.service';
import { QuestionSplitService } from './shared/question-split/question-split.service';
import { StateService } from './shared/state.service';
import { WidgetService } from './widget.service';
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
import { library } from '@fortawesome/fontawesome-svg-core';
import { faSquare, faCheckSquare } from '@fortawesome/pro-solid-svg-icons';
@NgModule({
imports: [
CommonModule,
WidgetRoutingModule,
SharedModule,
FontAwesomeModule
],
declarations: [
WidgetComponent,
ScenariosComponent,
QuestionsComponent,
AnswersComponent,
ResultsComponent,
AnswerButtonComponent,
HeaderComponent,
LoadingButtonComponent,
MainProductComponent,
MatchesComponent,
ProductComponent,
QuestionSplitComponent
],
providers: [
AnswersService,
QuestionsService,
ResultsService,
ScenariosService,
AnswerMatchService,
DuplicateService,
FilterService,
FormulaService,
MatchesService,
PickService,
QuestionSplitService,
StateService,
WidgetService
]
})
export class WidgetModule {
constructor() {
console.log('WidgetModule loaded.');
library.add(faSquare, faCheckSquare);
}
}
I want to show two icons on my component, so you can see in the module above I have added faSquare and faCheckSquare.
In my component (which is called ScenariosComponent), I just have this span:
<span class="fas fa-square"></span>
From the link I provided above, and looking at this:
https://github.com/FortAwesome/angular-fontawesome
It looks like it should work.
I have the FontAwesomeModule imported, the ScenariosComponent has the WidgetModule as its parent module, so it should just work.
According to this line:
Icons added to the library will be available to any other component whose parent module also imports FontAwesomeModule.
And I do have my library set up in my module. Which should work within that module, at least in my understanding.
Am I doing this right?
angular font-awesome angular-fontawesome
angular font-awesome angular-fontawesome
edited Nov 23 '18 at 17:31
SiddAjmera
13.5k31137
13.5k31137
asked Nov 23 '18 at 15:54
r3plicar3plica
4,2331445125
4,2331445125
Do you have apro-licensed
version? You seem to be using icons that are a part of the pro version.
– SiddAjmera
Nov 23 '18 at 16:49
add a comment |
Do you have apro-licensed
version? You seem to be using icons that are a part of the pro version.
– SiddAjmera
Nov 23 '18 at 16:49
Do you have a
pro-licensed
version? You seem to be using icons that are a part of the pro version.– SiddAjmera
Nov 23 '18 at 16:49
Do you have a
pro-licensed
version? You seem to be using icons that are a part of the pro version.– SiddAjmera
Nov 23 '18 at 16:49
add a comment |
1 Answer
1
active
oldest
votes
If you want to use angular-fontawesome
, you'll have to follow their guide. There are a few issues with your implementation.
The first issue is here:
import { faSquare, faCheckSquare } from '@fortawesome/pro-solid-svg-icons';
You're importing from @fortawesome/pro-solid-svg-icons
which is a pro version of FortAwesome.
You should have imported from @fortawesome/free-solid-svg-icons
instead:
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
import { library } from '@fortawesome/fontawesome-svg-core';
import { faSquare, faCheckSquare } from '@fortawesome/free-solid-svg-icons';
Then in your AppModule:
export class AppModule {
constructor() {
library.add(faSquare, faCheckSquare);
}
}
The second issue is, from the Guide for angular-fontawesome
, it seems that you'll have to use it as a Component: fa-icon
which has an @Input
property [icon]
to which you'll have to supply the name of the class(es) you want to apply to them.
Something like this:
<div style="text-align:center">
<fa-icon [icon]="['fas', 'square']"></fa-icon>
<br>
<fa-icon [icon]="['fas', 'check-square']"></fa-icon>
</div>
Here's a Sample StackBlitz for your ref.
thanks for your reply :) I have linked the pro version on purpose, we have a license (which I have registered). I know I can do it the way you have stated, but I would prefer not to use them as components. I tried to follow this guide: stackoverflow.com/questions/48027322/… but it didn't work
– r3plica
Nov 25 '18 at 11:46
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53449659%2ffontawesome-not-working-with-angular-using-spans%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
If you want to use angular-fontawesome
, you'll have to follow their guide. There are a few issues with your implementation.
The first issue is here:
import { faSquare, faCheckSquare } from '@fortawesome/pro-solid-svg-icons';
You're importing from @fortawesome/pro-solid-svg-icons
which is a pro version of FortAwesome.
You should have imported from @fortawesome/free-solid-svg-icons
instead:
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
import { library } from '@fortawesome/fontawesome-svg-core';
import { faSquare, faCheckSquare } from '@fortawesome/free-solid-svg-icons';
Then in your AppModule:
export class AppModule {
constructor() {
library.add(faSquare, faCheckSquare);
}
}
The second issue is, from the Guide for angular-fontawesome
, it seems that you'll have to use it as a Component: fa-icon
which has an @Input
property [icon]
to which you'll have to supply the name of the class(es) you want to apply to them.
Something like this:
<div style="text-align:center">
<fa-icon [icon]="['fas', 'square']"></fa-icon>
<br>
<fa-icon [icon]="['fas', 'check-square']"></fa-icon>
</div>
Here's a Sample StackBlitz for your ref.
thanks for your reply :) I have linked the pro version on purpose, we have a license (which I have registered). I know I can do it the way you have stated, but I would prefer not to use them as components. I tried to follow this guide: stackoverflow.com/questions/48027322/… but it didn't work
– r3plica
Nov 25 '18 at 11:46
add a comment |
If you want to use angular-fontawesome
, you'll have to follow their guide. There are a few issues with your implementation.
The first issue is here:
import { faSquare, faCheckSquare } from '@fortawesome/pro-solid-svg-icons';
You're importing from @fortawesome/pro-solid-svg-icons
which is a pro version of FortAwesome.
You should have imported from @fortawesome/free-solid-svg-icons
instead:
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
import { library } from '@fortawesome/fontawesome-svg-core';
import { faSquare, faCheckSquare } from '@fortawesome/free-solid-svg-icons';
Then in your AppModule:
export class AppModule {
constructor() {
library.add(faSquare, faCheckSquare);
}
}
The second issue is, from the Guide for angular-fontawesome
, it seems that you'll have to use it as a Component: fa-icon
which has an @Input
property [icon]
to which you'll have to supply the name of the class(es) you want to apply to them.
Something like this:
<div style="text-align:center">
<fa-icon [icon]="['fas', 'square']"></fa-icon>
<br>
<fa-icon [icon]="['fas', 'check-square']"></fa-icon>
</div>
Here's a Sample StackBlitz for your ref.
thanks for your reply :) I have linked the pro version on purpose, we have a license (which I have registered). I know I can do it the way you have stated, but I would prefer not to use them as components. I tried to follow this guide: stackoverflow.com/questions/48027322/… but it didn't work
– r3plica
Nov 25 '18 at 11:46
add a comment |
If you want to use angular-fontawesome
, you'll have to follow their guide. There are a few issues with your implementation.
The first issue is here:
import { faSquare, faCheckSquare } from '@fortawesome/pro-solid-svg-icons';
You're importing from @fortawesome/pro-solid-svg-icons
which is a pro version of FortAwesome.
You should have imported from @fortawesome/free-solid-svg-icons
instead:
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
import { library } from '@fortawesome/fontawesome-svg-core';
import { faSquare, faCheckSquare } from '@fortawesome/free-solid-svg-icons';
Then in your AppModule:
export class AppModule {
constructor() {
library.add(faSquare, faCheckSquare);
}
}
The second issue is, from the Guide for angular-fontawesome
, it seems that you'll have to use it as a Component: fa-icon
which has an @Input
property [icon]
to which you'll have to supply the name of the class(es) you want to apply to them.
Something like this:
<div style="text-align:center">
<fa-icon [icon]="['fas', 'square']"></fa-icon>
<br>
<fa-icon [icon]="['fas', 'check-square']"></fa-icon>
</div>
Here's a Sample StackBlitz for your ref.
If you want to use angular-fontawesome
, you'll have to follow their guide. There are a few issues with your implementation.
The first issue is here:
import { faSquare, faCheckSquare } from '@fortawesome/pro-solid-svg-icons';
You're importing from @fortawesome/pro-solid-svg-icons
which is a pro version of FortAwesome.
You should have imported from @fortawesome/free-solid-svg-icons
instead:
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
import { library } from '@fortawesome/fontawesome-svg-core';
import { faSquare, faCheckSquare } from '@fortawesome/free-solid-svg-icons';
Then in your AppModule:
export class AppModule {
constructor() {
library.add(faSquare, faCheckSquare);
}
}
The second issue is, from the Guide for angular-fontawesome
, it seems that you'll have to use it as a Component: fa-icon
which has an @Input
property [icon]
to which you'll have to supply the name of the class(es) you want to apply to them.
Something like this:
<div style="text-align:center">
<fa-icon [icon]="['fas', 'square']"></fa-icon>
<br>
<fa-icon [icon]="['fas', 'check-square']"></fa-icon>
</div>
Here's a Sample StackBlitz for your ref.
edited Nov 23 '18 at 17:09
answered Nov 23 '18 at 16:58
SiddAjmeraSiddAjmera
13.5k31137
13.5k31137
thanks for your reply :) I have linked the pro version on purpose, we have a license (which I have registered). I know I can do it the way you have stated, but I would prefer not to use them as components. I tried to follow this guide: stackoverflow.com/questions/48027322/… but it didn't work
– r3plica
Nov 25 '18 at 11:46
add a comment |
thanks for your reply :) I have linked the pro version on purpose, we have a license (which I have registered). I know I can do it the way you have stated, but I would prefer not to use them as components. I tried to follow this guide: stackoverflow.com/questions/48027322/… but it didn't work
– r3plica
Nov 25 '18 at 11:46
thanks for your reply :) I have linked the pro version on purpose, we have a license (which I have registered). I know I can do it the way you have stated, but I would prefer not to use them as components. I tried to follow this guide: stackoverflow.com/questions/48027322/… but it didn't work
– r3plica
Nov 25 '18 at 11:46
thanks for your reply :) I have linked the pro version on purpose, we have a license (which I have registered). I know I can do it the way you have stated, but I would prefer not to use them as components. I tried to follow this guide: stackoverflow.com/questions/48027322/… but it didn't work
– r3plica
Nov 25 '18 at 11:46
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53449659%2ffontawesome-not-working-with-angular-using-spans%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Do you have a
pro-licensed
version? You seem to be using icons that are a part of the pro version.– SiddAjmera
Nov 23 '18 at 16:49