What is ng-view? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is ng-view?

Plz tell me about ng-view..how to use it

11th Jan 2021, 10:53 AM
Tara Choudhary
Tara Choudhary - avatar
2 Answers
+ 1
ng-view is a directive - a special piece of angularjs code. It's used with a library called Angular-UI-Router that basically helps you create single-page applications, and essentially is the "spot" in your HTML that will get replaced by the dynamic HTML that Angular-UI-Router picks.
30th Mar 2021, 6:17 PM
HealyUnit
HealyUnit - avatar
11th Jan 2021, 12:19 PM
Alphin K Sajan
Alphin K Sajan - avatar