Functional menu bar

Note that this commit changes one line in the Angular library, in order
to add support for the blur event.