A new route to fabricate biocompatible hydrogels with controlled drug delivery behavior.