Onclick of button, not navigating to view


I’m new to ionic framework.

About the project:
I created a basic sample project with tabs. I could able to navigate between tabs but I have a button on one of tab page and when i click on it nothing is happening.

Please help me what I’m missing


home tabs

Button on tab page

Appreciate your help.


I don’t think you need to include the /app/ part. The state url is what you want to navigate to, not the template url. Try this:

<a href="#/home/eventsbyday"></a>

Refer to this codepen.


It worked.

Thank you! appreciate your help.