AngularJS AngularJS bindings options (`=`, `@`, `&` etc.) Bind optional attribute


Example

bindings: {
   mandatory: '=' 
   optional: '=?',
   foo: '=?bar'
}

Optional attributes should be marked with question mark: =? or =?bar. It is protection for ($compile:nonassign) exception.