Adding function to set boolean value to either leverage ngshow or nghide directives