New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@angular-bro/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

@angular-bro/broccoli-angular-templates-cache

Broccoli plugin to inline angular templates using $templateCache

latest
Source
npmnpm
Version
1.1.3
Version published
Maintainers
1
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

angularjs-template-cache

FAQs

Package last updated on 19 Nov 2024

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