Closes #26 Projects & events index pages don't show any records & refactor angular code