{{data.message + " world!"}} should be
{{= data.message + " world!"}} On Thursday, 13 March 2014 17:21:28 UTC-5, David Simmons wrote: > > Hi All (again). > > I did some digging around with the web2py source code and came up with > this..... > > https://gist.github.com/shortly-portly/9538005 > > The usage is pretty straight forward. You can use normal Web2py tags {{ > and }}. When you want to drop down into Angular, surround your stuff with > {{ verbatim }} and {{ endverbatim }}. For example > > {{ extend 'layout.html }} <------------- translated by web2py as normal > > {{ verbatim }} > <div ng-app=""> > <input type="text" ng-model="data.message"> > <h1>{{data.message + " world!"}}</h1> <----------- not touched by > web2py > </div> > > {{ endverbatim }} > > Could someone who knows more about the web2py source code let me know if > this looks like a valid change. I'd love to be able to submit it. > > cheers > > Dave > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.