Working on a new effect on SideBarMenu. Here it is. How can I extend the directive to make it cleaner?


#1

So, here is the plunkr. The js is sidebareffect. How can I extend the directive to make it cleaner? Thanks!