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

Isolated scope not isolated #7716

Closed
Closed
@TheManFran

Description

@TheManFran

I was following the dev guide (https://docs.angularjs.org/guide/directive) on isolated scope and was not experiencing the described behaviour. The section that describes the behaviour of the transclude option mentioned that if the transclude wasn't included the expression would have resolved to the isolated scope value, in this case the name 'Jeff'. I didn't experience this behaviour, as the binding was made to the external scope.

I realized this has changed between version 1.0.8 (http://jsfiddle.net/TheManFran/wqSeJ/1/) and version 1.2.0 (http://jsfiddle.net/TheManFran/CbLcw/1/). I can't find any documentation that explains this change.

To me this feels like a bug as one expects the bindings with isolated scope not to bind to the external scope.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions