Tips
Some things you should probably do...
Production
There are a few extra things that angular-formly does to help you in development that may not be as helpful in a production environment. It is recommended that you have something like this to improve performance of your app in production:
angular.module('yourModule').config(
function(formlyConfigProvider, formlyApiCheck, onProd) {
if (onProd) {
formlyApiCheck.disable();
formlyConfigProvider.disableWarnings = true;
}
}
);
General
Take a look at the section about extras
in the formlyConfig. There are a few extras you may want to consider turning on. One that you will likely really want to turn on is the ngModelAttrsManipulatorPreferBound
. You do so like this:
angular.module('yourModule').config(function(formlyConfigProvider) {
formlyConfigProvider.extras.ngModelAttrsManipulatorPreferBound = true;
});
Updated less than a minute ago