Working on dependency injection inside HTML