title: Angular Component inheritance without a template in base class
body: <p>I need to create a base class which consists of common logic and to Inherit it and create multiple components.
  While checking in the internet I found two ways of doing that.</p>
  <ol>
  <li>Use base class as a Pure typescript class and use @component decorator in inherited components.</li>
  <li>Use base class with @component with empty template and use @component in inherited components too.</li>
  </ol>
  <p>It's appreciated if you can illustrate the correct way of achieving this.</p>