Bad design.
Move the common utility/ method to a service or provider [if the data is
needed on config phase].

On Wed, Mar 25, 2015 at 2:20 PM, Gabriel Ferreira <[email protected]>
wrote:

> Hi guys. I have 4 template HTML files, and both share the same controller.
> One of the templates has to invoke a function on controller, but the other
> templates don't. How can i invoke this function on the HTML?
>
> It's something like onload.
>
> Best regards,
> Gabriel.
>
> --
> 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/d/optout.
>



-- 
*Rishi Tandon*
Pearson Learning Technology Group

Mobile: (310) 926-9032

Pearson
Always Learning
Learn more at www.pearson.com

-- 
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/d/optout.

Reply via email to