refactor angular entry controller. create EntryModel object to inherit from
adjust views to work with refactored controller