Re:Angular-tips: Consuming services
by aidos on Sunday August 04, 2013 @03:56PM
(#6156844)
This seems pretty obvious but it highlights an issue for people approaching a framework like angular. There are bits of magic that happen and you're never quite sure where they end. In this case it's just basic js assignment behaviour.
On a slightly deeper level it raises the issue of how much the view should know about the services. The final result here is a lot less code at the expense of the views directly interacting with the services.
On a slightly deeper level it raises the issue of how much the view should know about the services. The final result here is a lot less code at the expense of the views directly interacting with the services.