refactored delete into directive
removed dependency of delete button from controller, now takes an action callback that can be passed in from parent scope
refactored add button and extracted directives to their own file
refactored into views. Added routes. Reusing ListCtrl for database and collection views using nifty service indexers.