The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

ng-view

ng-view

3:03
AngularJS's ngView is a directive that complements the $route service by including the rendered template of the current route into the main layout (typically the index.html) file. Every time the current route changes, the included view changes with it according to the configuration of the $route service.
Watch this lesson now
Avatar
egghead.io

AngularJS's ngView is a directive that complements the $route service by including the rendered template of the current route into the main layout (typically the index.html) file. Every time the current route changes, the included view changes with it according to the configuration of the $route service.

Avatar
Roman Ganchenko

Is this the same as
div class="container" ng-view=""></div
??

In reply to egghead.io
HEY, QUICK QUESTION!
Joel's Head
Why are we asking?