Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Niclas Schumacher 67 posts 87 karma points
    Jun 06, 2014 @ 13:35
    Niclas Schumacher
    0

    Load angular boostrap in backoffice.

    Hello guys!

    In the project i'm a part of we are in need of using angular bootstrap typeahead functionality, but how am i supposed to tell the umbraco module that i would like it to depend on "ui.bootstrap" dependency ? 
    I've heard that angularJs has created the feature to be able to load dependencies later than init, but is this integrated into Umbraco, or how so i do it?
    Atm, the only way i can see this to work is to "hack" the umbraco module and implement it there, which i think is dirty. 

    Help is needed! :)

     

    Thanks in advance, see you next week ;)

  • Jan Skovgaard 11258 posts 23500 karma points MVP 7x admin c-trib
    Jun 20, 2014 @ 19:54
    Jan Skovgaard
    0

    Hi Niclas

    Have you found an answer to this question yet?

    I'm thinking if the typeahead functionality you're making is a property editor it should be fairly easy to load the css in the manifest file.

    But perhaps you have already figured it out? :)

    /Jan

  • Niclas Schumacher 67 posts 87 karma points
    Jun 23, 2014 @ 09:32
    Niclas Schumacher
    1

    Hello Jan.. 
    I solved it by adding it to the base of umbraco angular module, though that isn't the 'right' way, but i couldn't find a way to add the typeahead functionality to umbraco module in a proper way. It isn't possible to assign dependencies more than once in the current angular version, but it should come in the new one.. 

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies