How to add a link to a button to go to another html file


to add it to this button.

here it is can u help me pls

Anyone going to help me with this

Please take a look at this example.

You’re still using hrefs, or using ng-hrefs or even ui-srefs.

that doesnt work with my button code im using

this is the code im using


the code u gave me is not what im looking for

You need to create your states

 .config(function($stateProvider, $urlRouterProvider) {

    .state('home', {
    url: "/home",
    templateUrl: "templates/home.html"
    .state('detail', {
    url: "/detail",
    templateUrl: "templates/detail.html"



And then link to them using a tags

  <a class="button icon icon-right ion-chevron-right" ui-sref="detail">Detail View</a>
1 Like

so how do i integrate it with this code


That code will not work.
Please look at the example codepen I already posted.

So why do you have it on your platforms website THEN SO!!!