stick if element hits bottom css angular code example
Example: make the first item at the very top of the screen
.fixedElement {
position:fixed;
top:0;
width:100%;
z-index:100;
}
.fixedElement {
position:fixed;
top:0;
width:100%;
z-index:100;
}