added visible-if directive and binding