Note, you can also change the delimiters used in web2py templates by 
setting response.delimiters.

Anthony

On Tuesday, February 18, 2014 3:19:14 PM UTC-5, Richard wrote:
>
> http://www.web2pyslices.com/slice/show/1922/web2py-angularjs
>
> Change angular {{ }} for {! !}
>
> Having to type to different character bug me though, but you need a 
> closing tag...
>
> :(
>
> Richard
>
>
> On Tue, Feb 18, 2014 at 3:05 PM, Derek <sp1...@gmail.com <javascript:>>wrote:
>
>> and to note you can change the brackets in angular to use something 
>> else...
>>
>> see here:
>>
>> http://docs.angularjs.org/api/ng/service/$interpolate
>>
>> by default it uses {{ and }} as starting and ending brackets. 
>>
>>
>> On Tuesday, February 18, 2014 12:59:48 PM UTC-7, Derek wrote:
>>>
>>> Well, the problem you have is that if you put angular tags in your 
>>> views, they will be parsed with the template parser of web2py and error. 
>>> The way to avoid that is to use the angular classes instead. For example, 
>>> all the 'ng-app' and 'ng-controller' and 'ng-repeat' attributes (
>>> http://docs.angularjs.org/tutorial/step_02). Keep in mind that the 
>>> python template language will get parsed first, and only after that will 
>>> the angular template parser be used.
>>>
>>> On Tuesday, February 18, 2014 12:49:42 PM UTC-7, Arvind Gupta wrote:
>>>>
>>>> Can we use angular.js with web2py, if yes can u point me to appropriate 
>>>> resources?
>>>>
>>>  -- 
>> 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+un...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
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/groups/opt_out.

Reply via email to