An AngularJS 1.x directive for two-binding to an @angular/elements Custom Element.
Based on angular-custom-elements for Polymer Custom Elements.
- Include the
ae-binding.directive.jsscript in your page. - Add
ae-bindas a module dependency to your app. - For interpolated/two-way bindings: Add the
ae-bindingdirective to any @angular/elements Element to keep your interpolated bindings in sync.
<div ng-controller="MainCtrl as main">
{{main.greeting}}
<fancy-input message="{{main.greeting}}" ae-bind></fancy-input>
</div>