Re-factored timer directive, added edit cancel on outside click, fixed time displaying, added subscribers in controler