This repository was archived by the owner on Feb 22, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 248
'Undefined function' when calling functions which throw exceptions #971
Comments
The solution should be as simple as changing
to
in Needs a test to PR. |
I've also just run in to this issue in one of my components. Definitely caused some hair pulling! As always though, thanks sincerely to all contributors for the outstanding work happening. New framework hiccups aside, it's been a joy working with Angular and Dart and watching all the progress being made. :) |
@kemallette What version of AngularDart are you using? This may have been fixed by @chirayuk in the github version. |
@markovuksanovic Could you put together a PR for this issue? @vicb's approach looks correct. |
@jbdeboer version: 0.11.0 |
mvuksano
added a commit
to mvuksano/angular.dart
that referenced
this issue
May 24, 2014
mvuksano
added a commit
to mvuksano/angular.dart
that referenced
this issue
May 25, 2014
mvuksano
added a commit
to mvuksano/angular.dart
that referenced
this issue
May 25, 2014
mvuksano
added a commit
to mvuksano/angular.dart
that referenced
this issue
May 25, 2014
mvuksano
added a commit
to mvuksano/angular.dart
that referenced
this issue
May 25, 2014
mvuksano
added a commit
that referenced
this issue
Jul 23, 2014
mvuksano
added a commit
that referenced
this issue
Jul 24, 2014
chirayuk
pushed a commit
that referenced
this issue
Jul 29, 2014
chirayuk
pushed a commit
that referenced
this issue
Jul 29, 2014
chirayuk
pushed a commit
that referenced
this issue
Jul 29, 2014
chirayuk
pushed a commit
that referenced
this issue
Jul 29, 2014
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If in any code that is invoked by AngularDart invoked a code that raise
NoSuchMethod
then AngularDart showsUndefined function
exception, however function is defined.Steps to reproduce:
HelloWorld
controller add method:<button ng-click="ctrl.Test()">Test</button>
You'll see
Undefined function Test
. HoweverTest
is defined in controller.It can confuse users, as even if there is mistake somewhere inside of the call. It took me some time to understand what is the problem.
The text was updated successfully, but these errors were encountered: