Added 3 way data binding using AngularFire.