Skip to main content

Django_assets angular template filter.

Project description

What’s that?

Is a filter for generating html templates as javascript includes in your bundles of django_assets

How to use

Add the application to your INSTALLED_APPS

INSTALLED_APPS = (
  ...
  'assets_angular',
  'django_assets',
  ...
)

Using it

from django_assets import Bundle, register

templates = Bundle(
  'tpl/template1.html',
  'tpl/template1.html',
  filters='angular',
  output="templates.js"
)

app_js = Bundle(
 models,
 controllers,
 directives,
 filters,
 services,
 templates,
 filters='uglifyjs',
 output='gen/app.js')

 register('app', app_js)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

assets_angular-0.1.0.tar.gz (2.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page