greedings to everyone, i'm trying to pass a variable to angularjs from cmsfn, 
someone already did it?
[code]

        <div ng-controller="someController">
            [#assign currentNode = cmsfn.asJCRNode(content)]
            [#assign rootPageNode = cmsfn.root(currentNode, "mgnl:page")!]
           <div style="display: none">{{myVar='${rootPageNode}'}}</div> </div> 
[/code]
 but where i try to use myVar in angular, it's empty.
Any suggestion?
thank you in advance

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=c2c6fa91-516f-485b-aaaa-e560cb343361


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to