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.

Scope() on template of isolated directive is wrong #5704

Closed
@yarontt

Description

@yarontt

I have a directive which has an isolated scope and a template.
Although the bindings in the template refer to the isolated scope as they should, scope() and data() do not show this scope.

For all purposes the scope of the template is indeed the isolated scope, so I'd expect scope() to return it (or at least to see it in data()).

This makes debugging a bit difficult.

See
http://jsfiddle.net/yarontt/S5bnE/

Metadata

Metadata

Assignees

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