close popover when clicking outside of it

ns-popover-hide-on-click="outside" or ns-popover-hide-on-click="inside"

clicks inside or outside now dismiss the popover