You need to put your templates in index.html itself using script tags so that angular will no longer need to make AJAX requests to fetch them.
<script type="text/ng-template" id="home.html">
This is the content of the template
</script>
More Related Contents:
- create a single html view for multiple partial views in angularjs
- SPA best practices for authentication and session management
- Angularjs, passing scope between routes
- Failed to instantiate module [$injector:unpr] Unknown provider: $routeProvider
- How to disable caching of single page application HTML file served through IIS?
- How would I have ui-router go to an external link, such as google.com?
- AngularJS HTML5 Mode – How do direct links work without server specific changes?
- Print a div using javascript in angularJS single page application
- How to get current route path in Flutter?
- How/when to use ng-click to call a route?
- Configure Spring Boot for SPA frontend
- Tell screen reader that page has changed in Backbone/Angular single-page app
- “Thinking in AngularJS” if I have a jQuery background? [closed]
- Difficulty with ng-model, ng-repeat, and inputs
- How to watch for a route change in AngularJS?
- How to access cookies in AngularJS?
- AngularJS – How to structure a custom filter with ng-repeat to return items conditionally
- Custom name for BLOB URL
- AngularAMD + ui-router + dynamic controller name?
- Correct use for angular-translate in controllers
- how to inject dependency into module.config(configFn) in angular
- AngularJS : $q -> deferred API order of things (lifecycle) AND who invokes digest?
- Sharing data between directives
- AngularJs and Facebook Comments
- AngularJS – Remove leading and trailing whitespace from input-box using regex
- AngularJS CORS Issues
- Produce a promise which depends on recursive promises
- “Uncaught Error: [$injector:unpr]” with angular after deployment
- Using HTML Entities within AngularJS strings
- E2E mock $httpBackend doesn’t actually passThrough for me