Categories
5G Network
Agile
Amazon EC2
Android
Angular
Ansible
Arduino
Artificial Intelligence
Augmented Reality
AWS
Azure
Big Data
Blockchain
BootStrap
Cache Teachniques
Cassandra
Commercial Insurance
C#
C++
Cloud
CD
CI
Cyber Security
Data Handling
Data using R
Data Science
DBMS
Design-Pattern
DevOps
ECMAScript
Fortify
Ethical Hacking
Framework
GIT
GIT Slack
Gradle
Hadoop
HBase
HDFS
Hibernate
Hive
HTML
Image Processing
IOT
JavaScript
Java
Jenkins
Jira
JUnit
Kibana
Linux
Machine Learning
MangoDB
MVC
NGINX
Onsen UI
Oracle
PHP
Python
QTP
R Language
Regression Analysis
React JS
Robotic
Salesforce
SAP
Selenium
Service Discovery
Service Now
SOAP UI
Spark SQL
Testing
TOGAF
Research Method
Virtual Reality
Vue.js
Home
Recent Q&A
Feedback
Ask a Question
Discuss the lifecycle designed for directive and components in Angular JS
Home
>
Angular
>
Discuss the lifecycle designed for directive and components in Angular JS
Jan 6, 2020
in
Angular
Q: Discuss the lifecycle designed for directive and components in Angular JS
#lifecycle-directive
1
Answer
0
votes
Jan 6, 2020
Components and directive of Angular JS follow the following typical lifecycle.
nhOnInit
ngDoCheck
ngOnDestroy
Constructor
ngOnChanges
ngAfterContentInit (only for components)
ngAfterContentChecked (only for components)
ngAfterViewInit (only for components)
ngAfterViewChecked (only for components)
Click here to read more about Angular JS
Click here to read more about Insurance
Facebook
Twitter
LinkedIn
Related questions
0
votes
Q: What are the lifecycle hooks for components and directives?
Jan 15, 2020
in
Angular
#angular-components
0
votes
Q: Discuss the advantages and disadvantages of using Angular?
Jan 6, 2020
in
Angular
#angular-advantages
#angular-disadvantages
0
votes
Q: Explain ng-app directive in Angular.
Jan 15, 2020
in
Angular
#angular-ng-directives
0
votes
Q: What are lifecycle hooks in Angular? Explain a few lifecycle hooks.
Dec 12, 2020
in
Angular
#angular-lifecycle
#lifecycle-hooks
#
0
votes
Q: Explain Components, Modules and Services in Angular
Dec 12, 2020
in
Angular
#components
#modules
#services
#angular-components
0
votes
Q: Differentiate between Components and Directives in Angular 5.
Nov 24, 2019
in
Angular
#angular-components
...