Button to redirect to another page


#1

Hi,

I have a ionic app with no tabs. I would like to change view by clicking on a button.
I tried creating a controller method with the command “$state.go (‘home’)” but it doesn’ work.

Can you please help me understanding how I can control page redirection to a templates using a simple button?

Thanks


#2

#3

yes it was possible because I have made custom tab view using button tab will increase automatically as per user requirement