I am trying to access existing javascript libraries from within an angular-dart application. Which is the recommended way to do that? Is something like dart:js
available?
Thanks in advance for any ideas.
EDIT: did some tests. It appears that dart:js
doesn't mind being imported in angular.dart (btw, should I be importing 'dart:js'
or 'package:js/js.dart'
? what is the difference, if any?).
Since in angular you import javascript libraries through modules and in dart through dart:js
, it would be great if angular-dart's documentation could address clearly (maybe with some examples?) this issue that must be of interest to many people.