temporary fix migration

migrate fix from
https://github.com/vicb/angular.dart/commit/40302fb34d9677a3ecb58be7e5337cc84277e8e1
to issue
https://github.com/angular/angular.dart/issues/1154