AngularDart components and model binding

Issue Is it possible to bind an AngularDart ngComponent to a model and then manipulate that model from the component and see the changes outside of the changes outside of ngComponent. For example <myawsomecomponent ng-model=”{{name}}”></myawesomecomponent> <label>{{name}}</label> myAwesomeComponent will do some

Continue reading

Puzzled by CSS selector to trigger controller

Issue I’m having trouble understanding how an attribute selector can be used to restrict the scope of a controller. Here’s the minimal controller code: import ‘package:angular/angular.dart’; @NgDirective( selector: ‘[my-controller]’, publishAs: ‘ctrl’ ) class MyController { String foo = ‘fooooooooooooo’; }

Continue reading