You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks to "bindToController" in angular 1.3, we're able to create a much simpler api for building components.
Just as "angular.service" helps us to easily build an "angular.provider", I strongly believe a simplified "angular.component" could help us easily build components with "angular.directive".
Please see this demo: https://jsbin.com/yixote/11/edit?html,js,output
Thanks to "bindToController" in angular 1.3, we're able to create a much simpler api for building components.
Just as "angular.service" helps us to easily build an "angular.provider", I strongly believe a simplified "angular.component" could help us easily build components with "angular.directive".
I'm sure everyone will have plenty of feedback :)