display json data
render data using custom directive
create separate HTML file for template
change restrict option to match element
sum data entries by url category