Questions tagged [angular-dart]

AngularDart is a web app framework that focuses on productivity, performance, and stability.

AngularDart is a web-app framework for creating structured web applications in Dart.

AngularDart is distinct from Angular. It shares concepts and some API, but differs in implementation – taking advantage of Dart features such as classes and annotations.

Features

  • Reusable components
  • Bind models (Dart classes) to HTML markup
  • Deep linking
  • Form validation
  • Dependency injection
  • Testable

Links

1298 questions
0
votes
1 answer

dartlang interop js and d3 integration not working in dart

I'm trying to get a simple d3.js snippet working in AngularDart. I have a simple component: @NgComponent(...) class LineChart { Element element; List _items; var d3; @NgOneWayOneTime('data') set results ( List results ) { …
markovuksanovic
  • 15,676
  • 13
  • 46
  • 57
0
votes
1 answer

Error while running angular dart tutorial available on github

I am new to angular-dart. I have no prior knowledge of DART. Working on angular since last 3 months. I have downloaded the code from github. Then i opened the chapter 1 code through File->open in Dart Editor.The file structure of the project…
SavantMohan
  • 35
  • 2
  • 9
0
votes
1 answer

angular-kendo in Dart

I am trying to use angular-kendo in a Dart application. Any ideas on how to make this happen? Currently when in include angular-kendo.js in the html file i get 'Breaking on exception: ReferenceError: angular is not defined' Here is my html file:…
bardiak
  • 31
  • 1
  • 4
0
votes
1 answer

how to call a javascript function on a ng-directive element

I'm trying to convert a javascript library (handsontable) to an angular-dart directive. I know how to call a method on a javascript object: context.callMethod(r'$', ['#example']) .callMethod('handsontable', [new JsObject.jsify(options)]); but don't…
Amir Dezfouli
  • 199
  • 3
  • 10
0
votes
2 answers

AngularDart How to Create Component

I just started to learning from this tutorial: https://github.com/angular/angular.dart.tutorial/wiki/Creating-a-Custom-Component I'm just stucked with a problem, and looking for some help. The rating component does not show for me, none of the…
gabor.orosz
  • 433
  • 8
  • 20
0
votes
1 answer

What is the recommended way to pretty print HTML or code excerpts in AngularDart

What is the recommended way to pretty print HTML or code excerpts in AngularDart? Is there a package to help achieve this (have found none), or do developers simply use "external" packages like google-code-prettify?
Patrice Chalin
  • 15,440
  • 7
  • 33
  • 44
0
votes
1 answer

AngularDart NgComponent is absent until browser resize

I'm building a project using AngularDart and bootstrap. My project includes an NgComponent that is being rendered in a shadow dom. On load there seems to be a 1 out of 5 chance the component will render visibly on the page. The other 4 out of 5…
schellsan
  • 2,164
  • 1
  • 22
  • 32
0
votes
1 answer

DI code generator generated code uses non-existing function `ensureFunction`

I tried di Code Generator from the AngularDart tutorial but the generated code contains a lot of lines like: "incrementHours()": (scope) => ensureFunction(_incrementHours(scope), "incrementHours")(), but the function ensureFunction() is unknown. …
Günter Zöchbauer
  • 623,577
  • 216
  • 2,003
  • 1,567
0
votes
2 answers

What is right way to use select directive in angular.dart

I extend angular.dart.tutorial with basic CRUD operations. So in new edit_recipe_component.html I need to add some sort of selection input for recipe categories. Currently I have ' elements with PageLoader?)
I'm trying to test an application that navigates with the Router every time the user change the value of a