jrief / django-angular

Let AngularJS play well with Django
http://django-angular.awesto.com/
MIT License
1.23k stars 294 forks source link

Clarification for documentation on how to use partials #237

Closed TravisDart closed 8 years ago

TravisDart commented 8 years ago

The docs contain the following paragraph about including partials:

In AngularJS, when used together with external templates, static HTML code often is loaded by a
`$templateCache`_. These so named partials can be placed in their own sub-directory below
``STATIC_ROOT``.

I don't really understand this paragraph. Right now, I'm hardcoding the static URL path to the partials, but it sounds like there's a better way using $templateCache.

Can you shed some light on this subject?

jrief commented 8 years ago

sorry, I forgot to add the reference link. should be fixed now. I think the AngularJS docs are much better and explain this in detail.