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 30, 2018. It is now read-only.
Kent C. Dodds edited this page Aug 19, 2014
·
6 revisions
Below are some tips and tricks from members in the community. Please feel free to add sections or make other changes here as needed!
Custom Templates
Scope Variables available
You have the following variables on your scope:
optionsData - The data provided to configure the field
formId - The ID of the form the field is on
index - The index of the field the form is on (in ng-repeat)
value - The value of the form
Useful options
useNgIfToHide
If you've got performance issues with angular-formly give this option a try. Setting it to true will change fields with a hide=true to be hidden with ng-if instead of ng-hide meaning their watchers will be removed from the digest cycle (which is the leading cause of death for performance on angular pages).