Code Monkey home page Code Monkey logo

Comments (3)

pc035860 avatar pc035860 commented on August 18, 2024

Hi @HelderOliveira ,

Thank you for using the module. I'll look into this as soon as I can.

from angular-easyfb.

heldrida avatar heldrida commented on August 18, 2024

Thanks for looking @pc035860 !

I've changed the code a bit, not checking if the user like the page on the .config() ui-router resolve method. But, the fb like button it's still not loading asynchronously. I'm trying to find a fix but didn't found it yet.

http://pastie.org/private/uzv3ugcnjxsvolancfwjxg

from angular-easyfb.

pc035860 avatar pc035860 commented on August 18, 2024

Hello @HelderOliveira,

I found that you didn't include ezfb-xfbml directive in your enter_competition.html view. About ezfb-xfbml.

Could you try to wrap the <div class="fb-like"></div> with <div ezfb-xfbml></div>, and see if it works?

I tested it with modified ui-router official example, seems to work fine.
http://plnkr.co/edit/UvC8Jf?p=preview

Modifications:

  • Apply ezfb module
  • A like button for /route1, with async resolve
  • No like button for /route2, with async resolve

from angular-easyfb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.