abhi1988 (1) [Avatar] Offline
#1
Hey,

I created a small AngularJS project using some code from a tutorial and made small changes to it. But when I integrate the same with Flask, I get undefinedError : todo1 is undefined.

//Server

@app.route("/register")
def registeredDevices():
return render_template('register.html')

//Client

http://plnkr.co/edit/cJmcMn9zqr09JUEp0bjM?p=preview

Why running just the client, I get no error and it works fine but when I call it from the server, I get this error.

Thanks

Abhi