Data binding to a Map in Angular Dart

Issue I’m trying to implement functionality for checking multiple items in a list of checkboxes. I am using a Map to store the data and its selected/unselected state. List<String> fruits = [ {‘fruit’: ‘apple’, ‘selected’: true}, {‘fruit’: ‘banana’, ‘selected’: true},

Continue reading

Testing angular component

Issue I want to write a unit test (test/src/rating/rating.html/dart) for my <rating> component (lib/rating/rating.dart/html). void main() { useHtmlEnhancedConfiguration(); ng.Scope _rootScope; dom.Element _element; ngMock.TestBed _tb; setUp(() { try { ngMock.setUpInjector(); ngMock.module((ng.Module module) { module.install(new RatingModule()); }); ngMock.inject((ng.Scope scope, ngMock.TestBed testBed) {

Continue reading