Skip to content

josesanch/assets_angular

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django_assets angular template filter.

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)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages