You need a reference outside the inner function to this:
// in outer function
var self = this;
...
self.func2(component);
You need a reference outside the inner function to this:
// in outer function
var self = this;
...
self.func2(component);