Missing scope in function call

When calling the event handler in the angularjs lifecycle, the scope is lost due to a wrong function call (line 36).