Answer the question
In order to leave comments, you need to log in
How to pass angular data to script?
Dynamically it is necessary to fill the attribute parameter .... and so that it would be passed to execution ... I
use onsen + angularjs + phonegap
In general, here is the code on the page
<ons-col class="action-col" ng-click="openSocialSharing('qqqq {{phone.adress_lat}} wwwww')">
<div class="action-icon"><ons-icon icon="ion-loading-c" spin="true"></ons-icon></div>
<div class="action-label">Поделиться</div>
</ons-col>
$scope.openSocialSharing = function(qqrq){
console.log('ПАРАМЕТР - '+qqrq);
window.plugins.socialsharing.share(qqrq);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question