Hacker News new | past | comments | ask | show | jobs | submit login

Default behavior for ngView in Angular is to fetch the template with Ajax. You have your view html files in a partials directory.



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.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: