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.

Can't access ng-controller inside of a template transluded by a custom directive #1307

Closed
@ghost

Description

I need to use a Controller scope inside a custom directive which doesn't work:

http://plnkr.co/edit/30MrSh?p=preview

However, putting it outside of the custom directive worked:

http://plnkr.co/edit/g7nQ2x?p=preview

Related: https://groups.google.com/forum/?fromgroups=#!topic/angular/_cjJaJPWzww

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions