On 13 November 2015 at 17:09, Angular goodPractices <[email protected]>
wrote:

> Hi,
>
> We have recently re-written UI for our project in AngularJS. I want to
> understand the angular guidelines and the best practices to develop.
>
> Basically, I want to move some functions from controller class to a helper
> class. Can I simply create a utils class and call those functions in
> controller?
>
>
Hi,

I would implement those helpers as services and inject them into
controllers, other services if it is needed.

-- 
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