September 2017

HTTP Service in Angular

Why http? Most front-end applications communicate with backend services over the HTTP protocol. Angular offers an easy to use HttpClient API for developers. What is HttpClient? HttpClient is a powerful tool Angular offers to help REST API connections. Angular HttpClient has and interface that concludes all common used request types as well as hook for

HTTP Service in Angular Read More »

Services in Angular

What is a Service? A service is typically a class with a narrow, well-defined purpose. Angular provides flexibility to factor your application logic into services and make those services available to components through dependency injection. Service classes are decorated with @Injectable() decorator to show they can be injected to some other services or components. What

Services in Angular Read More »