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

image

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
image

this is the code im using

image

the code u gave me is not what im looking for

You need to create your states

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

  $stateProvider
    .state('home', {
    url: "/home",
    templateUrl: "templates/home.html"
  })
    .state('detail', {
    url: "/detail",
    templateUrl: "templates/detail.html"
  });


  $urlRouterProvider.otherwise("/home");

})

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

image

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!!!