Interview Questions Js, Angular, Nodejs

Angular 6 vs Angular 5 vs Angular 4 – What’s New in Angular 6?

69 Best Angular 2 Interview Questions and Answers

Angular 8 Interview Questions and Answers

Angular 2, 4, 5, 6, 7, 8 and 9 Interview Questions and Answers -Books

1. Clouser
2. Difference between Directive and Component
3. How improve angular performance
4. What is box model in CSS
5. How store images in MongoDB
6. What is replication and shadowing in MongoDB
7. What is interpolation in Angular
8. Difference between AngularJS and Angular
9. What is RxJS
10. What are services in Angular
11. Diff Between Angular 6 and 4
12. What is Rxjs
13. What is Observable, Subject
14. Diff between Pipe and Map
15. What is use of Package.json
16. Diff Between Es6 and Typescript
17. What are the data types in Typescript and Javascript
18. Center position a div using bootstrap

1. How do deep copy of Object if it is a json
2. Var, let , const difference
3. Difference between arrow function and normal function
4. What is javascript hoisting
5. How improve angular performance
6. How you maintain application state in one common place
7. Difference between Angular 8 and 6
8. What is RxJS
9. What is difference between Observable and Promise
10. How you exit from Promise if 3 chain success and 2 is failed
11. What are new feature in ES6
12. How you build application in Gulp using Task
13. What is use of package-lock.json file
14. What is use of tsconfig.json
15. How change title property in Angular

1. Javascript Hoisting ?
2. Difference between ViewChild & ViewChildren
3. Reverse a string
4. Array methods
5. Diff between Slice and Splice
6. Diff between Filter and Find
7. Event propogation and delegation
8. What are the types in Typescript and Javascript
9. What is use of Arrow Function
10. Diff between Formgroup and FormBuilder
11. What is module in Angulalr
12. ForkJoin return error what will happen
13. What is javascript Map operator
14. Spred and rest operators
15. What is use of tsConfig, Angular.json
16. Difference between ngChange & ngChecked
17. How you can pass parameter between router
18. What is use of browserModule and list default commons module and list default modules
19. What is AOT & JIT
20. Window or document which one will execute first ?
21. How to chain a pipe
22. Angular Elements

callbyValue and CallbyReference ?
Promise and async await Diff ?
curving in javascript ?
clouser ?
this keyword ?
Promise & async Execution order ?
Async & await – Parllel,
what is module in es6 ?
why express generator ?
what is route ?
curry function in javascript ?

What is scope and lexical scope ?
What are mutable and imutable data types in javascript
What are Web Components? –
https://coherent-labs.com/posts/web-components/

Passing data from component to component using services
Difference Between Promise and Observable
Difference between component and directives
Passing data from child to parent using ViewChild
angular-8-viewchild-example
angular-9-dom-queries-viewchild-viewchildren-example
authentication-and-authorization (Basic / JWT)
whats-new-angular-5
what-is-the-difference-between-a-observable-and-a-subject-in-rxjs
how-to-catch-error-in-observable-forkjoin

import { Component } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import {Observable} from 'rxjs';
import {forkJoin, of} from 'rxjs';
import {map, catchError} from 'rxjs/operators';
@Component({
  selector: 'my-app',
  templateUrl: './app.component.html',
  styleUrls: [ './app.component.css' ]
})
export class AppComponent  {
  name = '';
  constructor(private http: HttpClient){
    // const test$ = new Observable (s => {  
    //   s.next('2');
    //   s.next('3');
    //   s.next('4');   
    //   });
    // test$.subscribe( x=> console.log(x));
    // Code with pipeable operators in RxJS6
forkJoin(
  this.http.get('https://jsonplaceholder.typicode.com/tod/') .pipe(map((res) => res), catchError(e => of('Oops!'))),
  this.http.get('https://jsonplaceholder.typicode.com/todos/') .pipe(map((res) => res), catchError(e => of('Oops!')))
).subscribe(res => console.log(res));
  }
}

angular2-difference-between-a-behavior-subject-and-an-observable
chain-custom-pipes-in-angular-component
chain pipes
angular-2-4-minlength-and-maxlength-validation
angular-2-4-pattern-validation-example
angular-form-data-wont-append

Leave a Reply

Your email address will not be published. Required fields are marked *