Replacement of static hacking entries with separate json file and angular.js