bind data to paragraph element