Copied to clipboard

Flag this post as spam?

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


  • Sören Deger 726 posts 2833 karma points c-trib
    Dec 22, 2014 @ 10:32
    Sören Deger
    0

    How use custom angular directive?

    Hi all,

    how I can use this external angular directive in umbraco v 7.1.7? 

    http://bouil.github.io/angular-google-chart/

    Can anyone explain me how i can do this? 

    I'm missing here currently the approach.

     

    Best regards

    Sören

  • Jan Skovgaard 11258 posts 23500 karma points MVP 7x admin c-trib
    Dec 22, 2014 @ 11:11
    Jan Skovgaard
    0

    Hi Sören

    Are you thinking about using it in a custom property editor? Or are you thinking about using it as a dashboard?

    If it's for a property editor then you should be able to just reference it in the package.manifest and then call it where needed. If you don't know the angularjs workbook for Umbraco already then have a look here for learning more about creating the property editors https://github.com/umbraco/AngularWorkbook :)

    As for dashboards I'm a bit unsure of how to add controllers, directives and services etc. but perhaps having a peek at the source code for the analytics for Umbraco package could give som inspiration

    I'm don't recall seeing any official documentation about it - But I might be missing out though.

    Hope this helps.

    /Jan

  • Sören Deger 726 posts 2833 karma points c-trib
    Dec 22, 2014 @ 11:31
    Sören Deger
    0

    Hi Jan,

    I will using it in a custom property editor of a custom section. I will have a look on the workbook and source code. Thank you!


    Sören

  • 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