Angular.Js Vs Angular.dart
Both Angular.dart and Angular.js are maintained by the
Angular team. Angular.dart is written in dart and Angular.Js is written in
JavaScript.
Dart parser supports multiple backends including a Dart code generator. The DI system in both are different in dart it is class-based wherein JavaScript it is symbol based. The directives behave differently in Dart version where the compiler has been completely rewritten. Angular.dart has no equivalent to ng-init. Angular.dart uses shadowDom where Angular.Js uses ngTransclude instead. Angular.dart has no ng-controller directive so it uses @NgController(selector:’[foo-controller]’,publishAs:’foo’). Angular.dart doesn’t support ng-repeat with maps.
Comments
0 comments
Please Sign in or Create an account to Post Comments