Hi Sander,

Thanks for the response.

I read the doc. The same thing is mentioned over there in the title of Keep 
Controller Focused 
<https://github.com/johnpapa/angular-styleguide/blob/master/a1/README.md#style-y037>.
 
As per the AngularJS style guide we need to create 350+ client controllers 
for every view because we have 350+ HTML Templates. Just for the shake of 
client side test coverage. 

Is this is the right approach?

I didn't understand your suggestion *"in your use-case there is no 
difference from calling your initIndustries from within your controller. 
Also you can have 1 controller handling all CRUD variants". *It will be 
good if you describe in detail.

Regards,

Ajay Ojha
 

On Thursday, August 11, 2016 at 8:13:33 AM UTC+5:30, Sander Elias wrote:
>
> Hi Ayay,
>
> To start of I would say, read through the styleguide 
> <https://github.com/johnpapa/angular-styleguide>, as it will answer a lot 
> of your questions.
>
> But aside from that, in your use-case there is no difference from calling 
> your initIndustries from within your controller. Also you can have 1 
> controller handling all CRUD variants, and still follow guidelines.
>
>
> 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 angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to