move angular app to its own file
filter chart data