Onclick of button, not navigating to view


#1

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

routing

home tabs

Button on tab page

Appreciate your help.


#2

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.


#3

It worked.

Thank you! appreciate your help.