add minor docs and typings to angularjs to cover one of the official tutorials (the "wire up a backend" tutorial)