first commit
Merge https://github.com/doubleking/anglejs
some edits