One of my general rules is “don’t put the same thing in multiple places”, because doing so leads to bugs like this when they get out of sync. So I would recommend losing either firstName or qObj as an object property.
That’s one option. Another would be making qObj lexically scoped, assuming it needs to exist at all. Just don’t have them both be in the same scope (as object properties of the component).
The fact is i’m a beginner in Ionic3 and scopes are a bit strange for me. I don’t even know where put things like:
app.controller(‘myCtrl’, function()) etc…