(AngularJS) Bootstrap carousel not working with AngularJS – Fix

The AngularJS ngRoute directive intercepts anchor link click which is why Bootstrap carousel control does not work if controls are anchor link. The simple solution replace “anchor” tag with “span” tag

From:

To:

9 Commentsto (AngularJS) Bootstrap carousel not working with AngularJS – Fix

  1. David says:

    I was struggling with it for hours , thank man

  2. Efren says:

    Thanks very thanks, it’s worked 🙂 🙂

  3. Beena says:

    Thank you so much. This saved my time.

  4. satheesh says:

    Thanks……..

  5. Reshma Kherdekar says:

    Thanks a ton!

  6. Ashish Gupta says:

    Hi Muhammed this is not working for me ,is there we need to call any function.
    as simple it is not working ,
    can you please help me out.
    Thanks in advance

    • Imran says:

      Hi Ashish, that fix posted 1 year back and I didn’t check recently.
      If you can share code in git I can take a look.
      Thanks

  7. Kofi says:

    Thanks man this saved me from a lot of stress

  8. Ripal says:

    Superb fix..saved my day..

Leave a Reply

Your email address will not be published. Required fields are marked *