Systematic optimization of an engineered hydrogel allows for selective control of human neural stem cell survival and differentiation after transplantation in the stroke brain.