Angular 6 – Routing and Navigation (with Child Routes & Route Auth Guards)

Learn to code routing and navigation in angular 6, which covers pretty much everything about routes, child routes and route auth guard. Source Code: https://github.com/codewithsrini/Angular-6-Routing-and-Navigation-with-Real-World-Sample Time Stamp: 1:26 – Importing Router Modules (for Routing and Navigation) 2:02 – RouterModule.forRoot() 2:54 – Creating a Project Management Application 3:28 – Creating Components and Modules 4:44 –...

Angular 6 Creating Cookies using ngx-cookie-service

  1. Firstly, npm install —save ngx-cookie-service —save 2. And then import CookieService in your module like import { CookieService } from ngx-cookie-service; 3. In the module providers, add CookieService 4. In your Component constructor, inject your CookieService as private cookie: CookieService 5. Set your cookie like this.cookie.set(“userid”, “12345”); 6. Get cookie, this.cookie.get(“userid”)  ...

Angular 6 – Http Request – REST calls with HttpClient

As we all know that an angular is a front end application which means your angular app will be running in a web browser. Welcome to CodeWithSrini in this lecture we’re going to look into angular 6 HTTP request making less calls with HTTP in modern web applications we definitely need a bunch of...

How to scroll TABLE to particular TR programmatically

Assuming the project has a table with hundred’s of rows as a data set. And in a certain situation, an action in some other part of your page should result in showing a particular row in a table dynamically by using jquery. How do scroll a table to particular tr? Firstly, to demonstrate that,...