AngularJS Auto-hide Fixed Menu Bar Directive

An AngularJS directive for a fixed top bar menu which autohides on scroll down. The menu bar hides when page is scrolled down and shows when page bottom is reached or when scrolled up.

3 responses to “AngularJS Auto-hide Fixed Menu Bar Directive”

  1. Divder says:


    Thank you for this, but if you’re going to submit code for others to use, you should avoid using non-standard markup languages that a dev may not be using in their project or may not be familiar with, such as HAML.

    If you use vanilla HTML, CSS, and Javascript, everyone will be able to read and incorporate it, translating it into a special markup language if they choose to do so.


Leave a Reply