Window bug, a window within a marker can be created even without angular.isDefined(attrs.isiconvisibleonclick)