fix(DynamicParser): Correctly handle throwing exceptions from method.

Fixes #971
Merge branch 'feature/rethrow-error-from-function' of https://github.com/markovuksanovic/angular.dart