Moved showWarning method back to container directive.