Im new with this language and this framework, Ive made a command-line app and it works perfectly and now I wanna make a very simple web interface
I have this in my .html
<body ng-app>
.
.
.
<input type="submit" ng-click="doSomething()">
In my .dart
import 'dart:html';
import 'package:angular/angular.dart';
import 'package:angular/application_factory.dart';
.
.
.
void doSomething(){
lotToDo;
}
And I get this
Property 'doSomething' is not of type function.
Whats the point of the error ? Its necesary to use a controller ?
Thanks to all !