Angular directive for sticky elements.