Hello,
I'm developing *dynamic* form, list and components.
I have a definition of a form, list and some independent models(data).
I want to display model data on form/list depending of the definition of it.
I want to achieve:
- "the angular" way
- performant rendering
- minimal watchers (only list rows and model changes)
- use angular functionality:
- ngModel ($render, $setViewValue)
- ngForm ($valid, $dirty, $error, componentId.$valid)
- validation
- other directives (ngRequired)
- share common functionality (color in demo)
- component can have multiple modes/states (edit, display(readonly))
- able to re-render component(and form, list) if definition changes
(optional)
- List should render 50 rows with 10 component per row in under 300ms
Here is a WIP demo
http://plnkr.co/edit/xC5T6d?p=preview
The main goal is to create performant component directive that can be
rendered in a list and form demoed here.
Is $compile the best available option? Should we compile new element?
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.