toddmotto / angular-component

Fully featured .component() polyfill for Angular v1.3+
https://toddmotto.com
Other
191 stars 29 forks source link

$onChanges and one-way bindings support #22

Closed toddmotto closed 8 years ago

toddmotto commented 8 years ago

Hey all watching this repo, I've taken some time to polyfill one-way bindings using '<' values in the scope: {} Object, as well as implemented the $onChanges lifecycle hook as a polyfill.

If anyone is around to try it out then that'd be awesome. Commit here: https://github.com/toddmotto/angular-component/commit/b737e2782c75ff8852fea8943f180080896efa9e

And a live jsfiddle link here: https://jsfiddle.net/toddmotto/umudwa9u/