Browsing Tag

Injectable

REST Service Call With Angular 4

Animal class must be set as @Injectable() Decorator because this class will be injected as a Service to another class.Here, method URLSearchParams() provides to add different kind of request parameters as we were passing as a header during…

Concepts in Angularjs

AngularJS is a client side web application JavaScript framework, developed by Google that enhances HTML syntax.AngularJS uses HTMl as template language as compared to some other frameworks.It enhances it by providing pre-defined custom…

NgUpgrade in Depth – nrwl

Component IntegrationAnother important capability provided by NgUpgrade is being able to mix-and-match AngularJS and Angular components.To demonstrate how it works, we’ll look at the following example.There are three components in this…

DHTMLX Gantt Chart Usage with Angular 2 Framework

Now we’re going to implement an angular gantt chart component for dhtmlxGantt (JavaScript Gantt Chart), add it into the small application and bind it to the RESTful API on a backend.To add data loading to our angular gantt chart, we are…

Making HTTP Calls Using Angular

HTTP Calls in Angular 2 To use the Angular 2 Http module in our components, we have to first import the Http module.To do so, create new file inside the /src/app/ folder called app.service.ts and paste the code shown { Injectable } from {…

NgReact

Motivation for this could be any of the following: Facebook's React library is designed to be used as a view component atop other JavaScript frameworks.The component can be used in an Angular view using the react-component directive like…