Angular-style node depedency injection