AngularJS directive which takes JSON representing a form and renders to HTML
expression
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