How to Create an ng.Component
In this example, we'll create three different components. One with an input and a button, one with an input only and the last that is visible (with no input field). All these options can be mixed in any combination.
With input and button:

With input only:

Visible Component: