Add angularjs code for listing entries.