How do I configure to work on webapp2 for my angularjs app?

I have been trying to configure the middleware for my angularjs app hosted on google app engine with webapp2 framework, but none of the options for installing the middleware token seem applicable.

Can anyone be kind enough to assist me? Thank you.

Source: AngularJS