Added angular.js and started working with pairing data provided by ajax.