Angular Module for Cordova app to open other iOS / android url app schemes
People
Repo info
Activity
Gonçalo Sá
@GNSPS
Feel free to drop here all your questions! :smile: @/all
magestik247
@magestik247
Hi I'm trying to use your module to open links that come from json file like this {{data.links}} but I dont know how to do it. I already installed the plugins and the modules. sorry about my english
Gonçalo Sá
@GNSPS
Hi there
:)
If you want to open a link just use the module function to open the links in your controller
So in your controller you could have:
Gonçalo Sá
@GNSPS
$scope.clickLink(url) {
$urlschemer.openLink(url);
}
And then in the view (html):
{{clickLink(data.link)}}
I'm writing from my phone if you still need any help let me know and I'll try to guide you when I'm at the computer
😉
magestik247
@magestik247
Hi there thanks for your answer, but the question is that I have more than um link come from a $http service, So I can open a list of links using your module. This is my code: <ion-item id="testo" class="item-text-wrap item-icon-right" ng-repeat="event in events.data.results">