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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to