Replace static data with data from controller