@ngdoc error @name $compile:nonassign @fullName Non-Assignable Expression @description This error occurs when a directive defines an isolate scope property (using the `=` mode in the {@link ng.$compile#description_comprehensive-directive-api_directive-definition-object `scope` option} of a directive definition) but the directive is used with an expression that is not-assignable. In order for the two-way data-binding to work, it must be possible to write new values back into the path defined with the expression. For example, given a directive: ``` myModule.directive('myDirective', function factory() { return { ... scope: { 'bind': '=localValue' } ... } }); ``` Following are invalid uses of this directive: ``` ``` To resolve this error, always use path expressions with scope properties that are two-way data-bound: ``` ```