Hi,
I'm going through a video tutorial and Im stuck at a point im not sure
whats going on.
i have the following code:
@Component({
selector: 'favorite',
template: `<i class="glyphicon" [class.glyphicon-star-empty] =
"!isFavorite" [class.glyphicon-star]="isFavorite"(click)="onClick()"></i>`
})
The tutorial isn't making any reference to where the icons are coming from.
the icons are in the same folder so should the above example pickup the
icons or do i need to include the link somewhere.
how does angular2 know where to find this icon?? class.glyphicon-star-empty.
just started learning angular2 so its the newest version.
I'm using Ubuntu 15(laptop) and FireFox.
the application is working as it does display the hello world message.
under chrome inspect console isn't displaying any erros pertains to the
above problem
Any help you can provide would be greatly appreciated.
Thanks
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.