Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

feat($compile): '=' binding can now be optional #1889

Closed
wants to merge 1 commit into from

Commits on Jan 26, 2013

  1. feat(compile): '=' binding can now be optional

    If you bind using '=' to a non-existant parent property, the compiler
    will throw a NON_ASSIGNABLE_MODEL_EXPRESSION exception, which is right
    because the model doesn't exist.
    
    This enhancement allow to specify that a binding is optional so it
    won't complain if the parent property is not defined. In order to mantain
    backward compability, the new behaviour must be specified using '=?' instead
    of '='. The local property will be undefined is these cases.
    
    Closes angular#909
    Closes angular#1435
    lrlopez committed Jan 26, 2013
    Configuration menu
    Copy the full SHA
    c07c4b8 View commit details
    Browse the repository at this point in the history