Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

broccoli-angular-templates-cache

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-angular-templates-cache

Broccoli plugin to inline angular templates using $templateCache

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
57
increased by171.43%
Maintainers
1
Weekly downloads
 
Created
Source

Broccoli AngularJs Template Cache

Broccoli plugin to inline angular templates using $templateCache

Install

npm install --save broccoli-angular-templates-cache

Usage

var angularTemplates = require("broccoli-angular-templates-cache");

module.exports = angularTemplates('templates', {
  srcDir: './',
  destDir: './',
  prepend: 'partials/',
  strip: 'templates/',
  minify: {
  	collapseWhitespace: true
  },
  fileName:'templates.js',
  moduleName:'angularApp'
});

Options

srcDir

path to source directory

destDir

path to destination directory

prepend

Type: String Default: ``

Path fragment to insert before the template path

strip

Type: String Default: ``

Path fragment to remove from template path (from left)

minify

Type: Object Default: false

Configs to pass on html-minifier. If ommitted, the HTML is kept untouched

moduleName

Name of $templateCache module

LICENSE

MIT License

Keywords

FAQs

Package last updated on 28 Jan 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc