Router and Navigation in Angular 4

Router and Navigation in Angular 4

Router is used to navigate one page to another page in single page application, also passing multiple praameter and multiple query in the URL

Read More

Change Default port in agular 4

Change Default port in agular 4

The port 4200 is default for angular 2 and above version project so that we are unable to run more that project in same time. the alternate way run the project in different port each project.

Read More

Routing in angular 4

Routing in angular 4

Routing is used to navigate one component to another component without ever change the URL. Adding routing allow the user to go straight into certain aspects of the application.

Read More

Const in angular 4

Const in angular 4

const is a new keyword which declare a variable as constant over time. const in angular 4 we cannot modify

Read More

Difference between let and var

Difference between let and var

The difference between var and let. var is scoped to the nearest function block and let is scoped to the nearest enclosing block, which can be smaller than a function block. Both are global if outside any block.

Read More

@output decorator in Angular 4

@output decorator in Angular 4

The @output decorator in angular 4 used to emit the event from child to parent.The basic parent-child and child-parent communication by introducing EventEmitter and @Output.

Read More

@input decorator in Angular 4

@input decorator in Angular 4

The @input decorator in angular 4 used to pass the value from parent to child

Read More

Difference between HTML Attribute and DOM Property

Difference between HTML Attribute and DOM Property

The difference between HTML attribute and DOM property is a important in understanding binding in Angular. HTML is a set of written instruction for how to display a web page.

Read More

Why we using bootstrap in angular 2 and above

Why we using bootstrap in angular 2 and above

In Angular bootstrapping is a platform specific. Angular 1 assumed that Angular would only ever be run in a browser, Angular 4 makes no such assumption

Read More