Angular 6 Interview Questions
#1 Question
List some new features comes with Angular6
Latest Key features of Angular 6
- Added support for creating Custom Elements based on Angular Components.
- Animations: expose element and params within transition matchers.
- Bazel: change ng_package rule to APF v6
- singleline, multiline and jsdoc comments are now supported
- compiler-cli : add resource inlining to ngc
- support for TypeScript 2.7
- Require node 8 as runtime engine
#2 Question
Explain Ivy Renderer in Angular?
#3 Question
What is Bazel and Closure Compiler in Angular6?
#4 Question
Explain Service Worker in reference to Angular JS
#5 Question
Write command to generate a component in specific module in Angular cli?
You can generate a component in specific module in AngularJs by running below commnad on CLI.
ng g component component_name --module=module_name
#7 Question
Explain Zone in Angular?
Zones are a kind of performance setting that empowers us to catch into our anachronistic tasks.
Zones in angular APIs increase the performance by executing our code exterior to the angular zone. It helps in preventing Angular from the governing unwanted alter detection assignments.
Zones in angular APIs increase the performance by executing our code exterior to the angular zone. It helps in preventing Angular from the governing unwanted alter detection assignments.
#8 Question
How to update or upgrade angular cli version
In order to upgrade angular-cli package that was installed globally in your system, you need to run following commands
npm uninstall -g angular-cliInstead of upgrading global version of angular-cli you can also upgrade the local version for specific project y running following commands:
npm cache clean or npm cache verify (if npm > 5)
npm install -g @angular/cli@latest
rm -rf node_modules
npm uninstall --save-dev angular-cli
npm install --save-dev @angular/cli@latest
npm install
#9 Question
List some Inbuilt Pipes available in Angular
Below are the list of few Pipes available in Angular Js
- DatePipe
- CurrencyPipe
- AsyncPipe
- DecimalPipe
- TitleCasePipe
- JsonPipe
- SlicePipe
- PercentPipe
- UpperCasePipe
- LowerCasePipe
No comments:
Post a Comment