3 ms·
I'm for using services to define whatever object used across controllers and other services. Using rootscope or scope inheritance is very tricky in AngularJS
by camus 13y ago
I'm for using services to define whatever object used across controllers and other services. Using rootscope or scope inheritance is very tricky in AngularJS
- ganarajpr 13y agoAgreed. Any utility functions should go into a different service. Using $rootScope feels like a hack.