Build your own AngularJS: http://teropa.info/build-your-own-angular/