Y
Hacker News
new
|
ask
|
show
|
jobs
by
camus
4804 days 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
1 comments
ganarajpr
4803 days ago
Agreed. Any utility functions should go into a different service.
Using $rootScope feels like a hack.
link
Using $rootScope feels like a hack.