What is ng init?
Answer / Bhoopendar Singh
ngInit is a directive in AngularJS that is used to initialize data properties when the controller is instantiated. However, it's considered an anti-pattern and should be avoided in modern Angular applications.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is router and switch?
What is latest version of angularjs?
Explain routeprovider in angularjs?
What is primeng?
Difference between ng-bind and ng-model directive.
What is a class in angular?
Give an example of Data binding in AngularJS?
How many types of data bindings are there in angularjs?
What are the key components of angular 2?
What angular is doing with bazel compiler?
How to initialize a select box with options on page load in angular js?
How can you handle errors in angular 2 applications?