Hi Sander, i think Pawel forgot to declare MatchController in
customtemplate.html, here in my solution, i put it and works fine.

advantage..., the scope of the father should not be inherited to the child?

Ricardson Albuquerque


On Wed, Feb 26, 2014 at 12:55 AM, Sander Elias <[email protected]>wrote:

> Hi Pawel,
>
> Ok, I must have a day off, I see your solution working, but I don't get
> it. Where is the MatchController linked to the template?
> Have looked over the code, reread the typeahead docs and took a shallow
> code-read of ui-typeahead.
> Is there some magic in ui-typeahead that pulls this in? If so, how does it
> know the name of the controller? What if there is more
> then one ui-typeahead in my view?
>
> Regards
> Sander
>
>  --
> You received this message because you are subscribed to the Google Groups
> "AngularJS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to