title: Aurelia: Deriving a component from another and reusing HTML
body: <p>In Aurelia, how do I derive a component from another component reusing the HTML view from the source component?</p>
  
  <p>I have a component <code>BarGraph</code> that renders simple bar graphs. This component has files <code>bar-graph.js</code> and <code>bar-graph.html</code>. I want to derive a set of components from <code>BarGraph</code>. Each <code>*BarGraph</code> class will have custom logic, but all of the derived components will have the same HTML as the original component. I want to store the HTML for the components in one file and reuse it in each <code>*BarGraph</code> class. </p>