Skip to content

remackgeek/elements-binding-directive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

elements-binding-directive

An AngularJS 1.x directive for two-binding to an @angular/elements Custom Element.

Based on angular-custom-elements for Polymer Custom Elements.

Usage

  • Include the ae-binding.directive.js script in your page.
  • Add ae-bind as a module dependency to your app.
  • For interpolated/two-way bindings: Add the ae-binding directive 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>

About

An AngularJS 1.x directive for two-way binding with @angular/elements

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors