1

here is my downloadable link : download.xxxxxx.com/yyyyy.json

for company policy reason, I use xxxxxx and yyyyy to illustrate domain and json file name. but I have tested on my end, this is a downloadable link.

HTML

<input type="button" class="btn-round btn-primary" ng-href="winlink" value="Download">

Controller

$scope.winlink =  'http://download.xxxxxx.com'+ '/' + $scope.name;

the problem here is ng-href doesn't work at all. When I click the button, nothing happens.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.