Stem cell-based therapy has emerged as an efficient strategy to repair injured cardiac tissues after myocardial infarction. We provide an optimal in vivo application for stem cell transplantation using gelatin hydrogels that are able to be enzymatically cross-linked.