Got the paging working on the codes modal.

Had some trouble with infinite 'digest' loops. Figured out a way to memoize the return value so that it doesn't think its getting something new back every time (therefore avoiding the infinite loop)