an angular directive to show a "hamburger" menu icon that can transform into a back arrow