I'm not sure if there is a $parent when you use isolated scope:
" The 'isolate' scope differs from normal scope that it does not
prototypically inherit from the parent scope. This is useful when
creating reusable components, which should not accidentally read or
modify data in parent scope. "
If you want to access parent scopes in your directive, don't use isolated scope.
Andras
On Thu, Jun 14, 2012 at 11:26 AM, ItsLeeOwen <
l...@coderebelbase.com> wrote:
> Shouldn't a widget/directive with ng-click="someFunction()" at least fire on
> it's parent scope without $parent?
>
> <my-widget ng-click"pleaseFireOnParentScope()"></my-widget>
>
> --
> You received this message because you are subscribed to the Google Groups
> "AngularJS" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/angular/-/kVb1A2MdinkJ.
> To post to this group, send email to
ang...@googlegroups.com.
> To unsubscribe from this group, send email to
>
angular+u...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/angular?hl=en.