Add controller in angular with modal window for compare two records.
refactor with new data base