Input data for schedule via directive attribute
Update README and remove some extra code