Copied to clipboard

Flag this post as spam?

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


  • Mads Sørensen 188 posts 433 karma points
    Aug 16, 2017 @ 12:04
    Mads Sørensen
    0

    Hi Guys Does anyone know how to get access to the dictonary items when you are coding an Angular Template?

    In an normal Razor view I would just do this: @Umbraco.GetDictionaryValue("load-more-news")

    But in angular i have no idea:

    <span class="btn full">
       <a href="javascript:void(0)" class="load-more-news" ng-init="GetNews()" ng-click="GetMoreNews()">@Umbraco.GetDictionaryValue("load-more-news")</a>
    </span>
    
  • Thomas Hansen 160 posts 377 karma points
    Jan 02, 2020 @ 13:40
    Thomas Hansen
    0

    Hey

    Did you found a solution for this?

Please Sign in or register to post replies

Write your reply to:

Draft