Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
camus
on April 23, 2013
|
parent
|
context
|
favorite
| on:
Code Organization in Large AngularJS and JavaScrip...
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
on April 23, 2013
[–]
Agreed. Any utility functions should go into a different service.
Using $rootScope feels like a hack.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: