Simple demo

Simplest usage demo for Angular Sticky. This container will stick to the top only by adding hl-sticky to the DOM element. A little added bonus is the usage of the class.is-sticky, but that is optional. That class is being added by the plugin whenever the element becomes sticky.

.sticks { display: none; } .is-sticky .sticks { display: block; } .is-sticky .not-sticky { display: none; }
Scroll to make me sticky Look, I'm sticky!