I'm building an app with Angular Dart. When I'm trying to run it as a javascript it throws an error in the console (Firefox):
"NoSuchMethodError: Cannot call "get$data" (config.get$data is not a function)
or for the same issue in Chrome:
NoSuchMethodError: undefined is not a function
In DevTools I figured that this error is thrown when the app is trying to download component's html file. Error is caused by precompiled javascript code:
closure322: {
"^": "Closure:139;",
call$1: function(config) {
config.get$data(config);
config.get$data(config);
return config;
},
$isFunction: true
},
I've checked properties of "config" variable and there is no "get$data" function. I'm not sure how to proceed. I've tried pub upgrade and error still exists. There's no error while I'm developing the app in Dartium and there everything works just fine.
Cheers.