fix(#10) [ng:areq] Argument 'fn' is not a function, got undefined 

Bug fix for issue #10
same fix for #10 to chrome version
Merge branch 'patch-1' into patch-2
same fix to safari extension
Push same changes to test
Merge pull request #37 from btesser/patch-1

fix(bug #10) - [ng:areq] Argument 'fn' is not a function, got undefined