Fix for #39

(found hint in angularJS tutorial, step 3)