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
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
could we add the possibility to define a directive without a factory. this would only be syntactic sugar and I could make a PR for this. This would make the creation of directives easier for beginners.
Thanks for your suggestion. In my opinion, this is not something really needed. Just another way to do something. Also, it's a golden opportunity for beginners to learn what a factory is. On a side note, we have the angular.component helper lined up for 1.5, which will help create "idiomatic components" for angular 1 (also good for migration to ng2): #12166
could we add the possibility to define a directive without a factory. this would only be syntactic sugar and I could make a PR for this. This would make the creation of directives easier for beginners.
The text was updated successfully, but these errors were encountered: