by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
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">
              <a href="{{event.lermais}}" on-click=""><img ng-src="{{ event.imagens }}"></a>
    
              <i class="icon ion-chevron-right icon-accessory"></i>
            </ion-item>
    Vishal
    @asaivishal
    Hi I've reinstalled both pre-requisite plugins and I am still getting "ReferenceError: appAvailability is not defined"
    Vishal
    @asaivishal
    Do I need to load those plugins separately? If yes, how? Or do I need to call onDevieReady event?
    Vishal
    @asaivishal
    I got it working by including 'AppAvailability.js' file into my 'www/js' folder and including it to index.html file.\
    Gonçalo Sá
    @GNSPS
    Please check my last commit
    The error will throw no more when the plugin is not defined
    Please do note that when testing on the browser the plugin won't be available
    Gonçalo Sá
    @GNSPS
    Are you also including URLSchemer as a module in your app.js? and including it in your controllers?
    injecting it as "$urlschemer"?