Saturday, 21 September 2019

Angular tough topics Part-1

ViewEncapsulation:

It is way of scoping your styles in Angular. It helps with style control over components.

It provides three ways: -
0: - EMULATEDNo Shadow DOM; Style Encapsulation;
1: - NATIVE - Shadow DOM; Style Encapsulation
2: - NONE- No Shadow DOM; No Style Encapsulation

Shadow DOM is a new DOM feature that helps you build components. You can think of shadow DOM as a scoped subtree inside your element. 


Building Blocks of Angular:

Metadata;       Template;      Routing;        Data Binding;        
Component;
Services;         Dependency Injection;       Directives;            
Pipes and Filter;
Forms;            Modules.


Life cycle Hooks sequence Angular:

ngOnChanges();
ngOnInit();
ngDoCheck();
ngAfterContentInit();
ngAfterContentChecked();
ngAfterViewInit();
ngAfterViewChecked();
ngOnDestory();   



Guess the output for below:-


a.  console.log(2 + '2');

b. console.log(2 - '2');


Answer: a: 22; b:0;

+ operator is applied to number(as Math operator) as well as to String (concatenate)
- is only number operator.

Thank you!


Satender Kumar Mall
Twitter: @satenderiiit

Saturday, 7 September 2019

Chandrayaan-2 Mission- Advantage - Part-2


These are raw facts straight from Principal Scientific Adviser to the Government of India regarding the benefits by 95% success story to world in coming days.

For Part-1

Thank you!


Satender Kumar Mall
Twitter: @satenderiiit


Chandrayaan-2 Mission- Advantage - Part-1

These are raw facts straight from Principal Scientific Adviser to the Government of India regarding the benefits by 95% success story to world in coming days.



                   
                                                           Continue.....

Thank you!


Satender Kumar Mall
Twitter: @satenderiiit