end of day commit/angular promises/smart design