Tinkered with this and that.
Implemented adding new rows.
Rewrote global jQuery scripts as directive logic.