Typically, 
on the one hand you use magnolia as a JSON "provider" (with REST endpoint(s), 
with jsonfn or prbly. even with pure freemarker)
and on the other hand use angular (or something similar) e.g. to render data.
The code for the latter you also can add to a template or to a file loaded by 
magnolia resources module to avoid violating the same origin policy.

Both tasks ar mostly orthogonal. 

I'm not aware of a fully fledged complete example using angular 2 - however, if 
you have something which is already working with angular 1.x or another js 
framework, it should not be rocket science to port your code to angular 2.

Here are some links which may inspire you, but which do NOT contain angular 2 
examples.
(However, this is not an agular forum :-))

- 
https://documentation.magnolia-cms.com/display/DOCS/Accessing+content+on+the+client+side
- https://documentation.magnolia-cms.com/display/DOCS/REST+API
- https://documentation.magnolia-cms.com/display/DOCS/My+first+REST+request
- https://wiki.magnolia-cms.com/display/WIKI/Camera+Collection+module

I hope this helps you at least a little bit,
cheers
 Christoph

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=4a9774d5-228f-41fc-aac7-336b1161c109


----------------------------------------------------------------
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: <[email protected]>
----------------------------------------------------------------

  • [magnolia-dev] Angular 2 Andre (via Magnolia Forums)
    • [magnolia-dev] Re: Angular 2 Christoph Meier (via Magnolia Forums)

Reply via email to