add three-way data binding with angularfire