Add conditional references
Fix indentation, use lambdas
Remove angular reference from specs
Add type information where it wasn't before
Fix $delegate type
Merge pull request #1 from jedmao/eggers-ts

TypeScript Fixes