r/angularjs • • Nov 27 '20

My code doesn't work in Angular component

Hi everyone,

I'm new to Angular my code doesn't work in Angular component.

for example;

<!-- Go To Top
============================================= -->
<div id="gotoTop" class="icon-double-angle-up bg-white text-dark rounded-circle shadow"></div>

The go-up code works in index.html in the angular project but it doesn't work when I put that code in app.component

0 Upvotes

1 comment sorted by

4

u/ttma1046 Nov 28 '20

you need to copy all the csss into app.component.scss.