added code for $http to get the list of code tables from PR