Explain ng-controller directive angularjs?
Answer / Swati Sharma
ngController in AngularJS is a built-in directive used to attach a controller to a scope. It allows you to define the behavior and logic of an application, and it can be applied to any HTML element. The controller's properties and methods can then be accessed within the associated HTML template.
| Is This Answer Correct ? | 0 Yes | 0 No |
How would you update angular 6 to angular 7?
What is callback function?
What do you mean by templateref and viewcontainerref?
Why should use angular js?
What is $location in angularjs?
What is the need for typescript in angular 2?
Why there are two “destroy” events associated with the termination of scope in angularjs?
Why services are used in angularjs?
What is pre-linking function in angularjs?
How to create a new project in angular js using cli?
When do you use template-driven vs model-driven forms? Why?
What is i18n and L10n?