added a directive for the popover, still no luck on connecting it with the scope