isIconVisibleOnClick now is a local var to. Injecting into scope in a
directive is not angular apparently.