Issue #11

Fix up binding with AngularJS (tested with 1.2.22).

Builds upon the work by BornKiller, but adds on a function name and timeout.

-=david=-