What Is Ng-View In AngularJS?



What Is Ng-View In AngularJS?..

Answer / Bhagwan Singh

Ng-View in AngularJS is a directive that allows you to define views within an application. It is used to display the view corresponding to the current state of the application. The content within ng-view is replaced with the HTML returned by the controller's $scope.$resolve function.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What is the use of ngfor directive in angular?

1 Answers  


What is the need for typescript in angular 2?

1 Answers  


What are ngModel and how do we represent it?

1 Answers  


What are the disadvantages of angularjs?

1 Answers  


Explain what is di (dependency injection) and how an object or function can get a hold of its dependencies?

1 Answers  


What is ng command?

1 Answers  


What is mvc5?

1 Answers  


What does –open or -o command do in angular?

1 Answers  


How to get the data from db?

1 Answers  


What is viewchild and viewchildren in angular?

1 Answers  


What are the key features/concepts of Angular.js?

1 Answers  


What are http interceptors used for?

1 Answers  


Categories