Fixed error with edit catalog entry.
Fixed pagination error.
Refactored directive.
Fixed context_menu directive bug.