Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
EugeneOZ
on April 5, 2015
|
parent
|
context
|
favorite
| on:
I won't be using Angular for my next project
> in general you can not look at your Angular code and figure out where all the calls are going to the backend
Why? Can't imagine why you can't look at code of your services and figure out where is URL.
EugeneOZ
on April 6, 2015
[–]
No, really, REST API services in Angular usually have path to endpoint written in the most top part of code (especially in $resource). So I really wonder how it's possible to hide API endpoint URI there.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Why? Can't imagine why you can't look at code of your services and figure out where is URL.