ngView works with routing and is mainly important for angular SPA. It is usually used to include the main content of your site, a bit between the header and footer, which changes every time the user clicks the link. Its integration with routing means changing the contents of ngView also changes the controller (depending on your configuration).
ngInclude is a common goal; you may not even need it. You sometimes use it inside a view to avoid repeating yourself in cases where multiple views require the same code.
mikel Nov 17 '13 at 9:46 a.m. 2013-11-17 09:46
source share