Moved filter function from controllers.js to filters.js
Created JSON file and removed data from the controller