How to call another html file in ionic?

1

Hello, I'm trying to call an html file from another html that I created by ionic, but it just does not 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, too, I created this button for this code above tbm, but the ">" icon is close to the text " Category " when in fact I want it to be at the end of the button.

    
asked by anonymous 06.10.2015 / 15:40

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=

    
24.11.2015 / 14:17