4 ms·
Default behavior for ngView in Angular is to fetch the template with Ajax. You have your view html files in a partials directory.
by Kiro 14y ago
Default behavior for ngView in Angular is to fetch the template with Ajax. You have your view html files in a partials directory.
- ZaneA 14y agoI believe Angular will search for inline templates first, so as long as you use the same path for the template name it won't attempt any AJAX fetching.