I thought when using dependency injection in Aurelia, you would get singletons by default. That doesn't seem to be the case with custom elements.
Say I have 3 custom elements named a, b and c. a and b are siblings are the same page. c is an element inside of b's template. I'm injecting c into a.
When I do this, I get a new instance of c in a. Is there a way to make c a singleton?
Here is a plunker example: http://plnkr.co/edit/Au80u0?p=preview