Hi Anil,

Did you define "callMyFunction" on the ngb-tab-title components controller? 
If not, the click is probably handled by the ngb tabs system.
you can add your own clickhandler inside a ngbTabTitle template like this:

<ngb-tabset>
    <template ngbTabTitle> <span (click)="callMyFunction()">Profile
</span></template> 
<ngb-tabset>

As documented in the excellent ngBootstrap documentation! 

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"Angular" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to