Hacker News new | ask | show | jobs
by Kiro 4830 days ago
Default behavior for ngView in Angular is to fetch the template with Ajax. You have your view html files in a partials directory.
1 comments

I 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.