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:

  1. create directives, if html can used in others areas of app.
  2. use templating engine handlebars , preprocessor combine partials, in single page, gulpjs or grunt (i prefer gulp).

Comments

Popular posts from this blog

php - Admin SDK -- get information about the group -

dns - How To Use Custom Nameserver On Free Cloudflare? -

Python Error - TypeError: input expected at most 1 arguments, got 3 -