Offcanvas directive for angular use