Hi Oluwasuen, Probably you are using some async code to set the value. The error you show is probably some part of your code is trying to use the value, before the async functions are done. This is similar to what happens:
let x = 1 setTimeout(() => x=2,1000) console.log(x) // log's 1 as the x=2 will run ~1000ms from now. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
