Adding ability to disable/enable ns-popover based on a scope variable