title: View not update after variable change in controller after firebase key check
body: <pre><code>firebase.auth().onAuthStateChanged(user =&gt;{        
       if(user){
         var userId: any  = user.uid; 
         var ref = firebase.database().ref('/setting/' + userId);
            ref.on('value', function(snapshot) {
            if (snapshot.exists()){
             let getData = "Checking if setting exist";
             let settingProvided = true;
             console.log('Setting provided');
            }else{
              let settingProvided = false;
            }
        });
  
       }
     })  
  </code></pre>
  
  <p>Views code
        
      
        <b>Note: Please provide your detail in the setting tab before sending your airtime.</b></p><br>
    </p>