How to call another html file in Ionic?

Asked

Viewed 2,051 times

1

Good morning, I’m trying to call an html file from another html I created by Ionic, but it just doesn’t call.

<label class="item item-input">
    <a class="button button-clear  icon-right ion-chevron-right a href="tab-servicos-categorias.html""><font size="2">Categoria </font></a>
</label>

Another issue tbm, I created this button by this code above tbm, but the icon ">" is close to the text "Category" when I really want it to be at the end of the button.

1 answer

1

In fact, you want to navigate between views:

1) define your routes (see this example)

2) Define your controllers

3) use ui-sref= instead of href=

Browser other questions tagged

You are not signed in. Login or sign up in order to post.