Regards,
Witold Szczerba
> --
> You received this message because you are subscribed to the Google Groups
> "angular" group.
> 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.
>
One of the best way to achieve this would be to start "coding" from
the view side. So at the beginning you have nothing but markup and you
adapt that markup to angular's widgets, directives, filters etc.... At
this point you are discovering requirements of the view. What
questions does your view have to ask controllers in order to render
itself.
Once view is done you start implementing the controllers. You do not
have to think about what methods you require, because you have already
discovered requirements, so you can focus on implementing. Then you go
lower and lower down to the deepest back-end.
Doing stuff that way keeps your code clean and simple, because all the
time you either implement or discover requirements, but never you have
to do those task at the same time.
I wrote the above just to explain my point of view better - I am not
referencing your particular case here.
Regards,
Witold Szczerba