Last modified by Ludovic Dubost on 2015/09/01 11:50

From version 2.1
edited by Ludovic Dubost
on 2013/04/16 18:58
Change comment: There is no comment for this version
To version 7.1
edited by Ludovic Dubost
on 2015/09/01 11:50
Change comment: Install extension [ludovic:angularjsdemo-0.9.1]

Summary

Details

Page properties
Content
... ... @@ -1,3 +1,9 @@
1 +
2 +This is a demo of AngularJS integration with XWiki. The backend data is in XWiki and AngularJS is used to display data from XWiki.
3 +With this integration, AngularJS code can be directly editing in XWiki pages and the result is immediately visible.
4 +
5 +The code of this demo is available as an [[XWiki Extension>>http://extensions.xwiki.org/xwiki/bin/view/Extension/AngularJSDemo]] (the code is also commented there).
6 +
1 1  {{angular app="xwiki" css="1"}}
2 2  <script type="text/javascript">
3 3  angular.module('xwiki', ['ngResource'])
XWiki.StyleSheetExtension[0]
Code
Use this extension
... ... @@ -1,1 +1,1 @@
1 -currentPage
1 +onDemand