[web2py] Re: Web2py ajax call and Angularjs

2014-09-21 Thread dlypka
var mypersistdict = {}; mypersistdict['myvar'] = 'myvalue'; var myurlencodeddata = $.param(mypersistdict); // ref: http://stackoverflow.com/questions/19254029/angularjs-http-post-does-not-send-data $http({ method: 'POST

[web2py] Re: Web2py ajax call and Angularjs

2014-09-17 Thread olivier hubert
Hi, I don't know angular to, but I found this documentation with a ajax sample at the end. http://slides.com/amberdoctor/angularjs_and_web2py Le mardi 16 septembre 2014 20:39:02 UTC+2, piero crisci a écrit : > > I am testing angularjs with web2py. > In my web2py i have some ajax call that store t

[web2py] Re: Web2py ajax call and Angularjs

2014-09-16 Thread Leonel Câmara
I don't know angular, but I don't think you're supposed to just call that stuff directly, you can use jquery ajax, but you need to put the call in a Factory or Service or another one of those bullshits angular loves and then you put it in the scope. -- Resources: - http://web2py.com - http://w