angularjs - Is there any limitation to use ng-include -
i developing product. there, separating page many templates, use atleast 5-8 ng-include per page. there problem use many ng-include in page?
the major problem each ng-include generates http request, impact page load times.
if doing splitting page, have couple of options:
- create directives, if html can used in others areas of app.
- use templating engine handlebars , preprocessor combine partials, in single page, gulpjs or grunt (i prefer gulp).
Comments
Post a Comment