angularjs - Combining button functionality in anchor tag -


i need combine functionality of button in anchor tag

i'm using angularjs

<div class="text-center" >     <button scroll-to-bookmark="bookmark1">bookmark 1</button>     <a href="#!/details/{{previtem}}" class="btn btn-left-primary">&lt;&nbsp;&nbsp; </a> 

bookmark 1

if click button bookmark1 go bookmark 1 no issue

objective way of combining functionality in anchor tag


Comments

Popular posts from this blog

java - Unable to make sub reports with Jasper -

scala - play framework: Modules were resolved with conflicting cross-version suffixes -

Save and close a word document by giving a name in R -