AngularJS directive which takes JSON representing a form and renders to HTML
statement
#confusing
expressionProperties
to set required
bound to each other, here's your jsbin fixed: http://output.jsbin.com/qodele/1/
'model.primary_packaging !== "tray" || model.primary_packaging !== "shelf_carton"'
means that the field will hide if the primary_packaging
is not equal to tray
or shelf_carton
formlyConfig.extras.disableNgModelAttrsManipulator
in formlyNgModelAttrsManipulator. Anyway, I'd really appreciate it!