compiled from https://github.com/AngularChina/angular.js/