title: Can your return Angular Components based on a parameter
body: <p>I’m wondering if the following is possible in angular.</p>
  
  <p>I want to have several components that take the same base interface of properties, a string component, a date component, a integer component etc that all have different html, css, validation etc.</p>
  
  <p>I then want to have a component called input that will be placed on a form and based off of the type of class given to it will render the correct component.</p>
  
  <p>Is this at all possible without going down the route of having all the components in the base components wrapped in ngIf’s and without using dynamic declarations?</p>