🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

component-angular-partials

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

component-angular-partials

Angular Template Handling for Component

latest
Source
npmnpm
Version
0.2.2
Version published
Maintainers
1
Created
Source

Component-Angular-Partials

A component plugin for adding partials to your assets directory. Support for compiling languages too.

Specify the partials under partials in component.json.

Usage Example

var angularPlugin = module.exports.angularPlugin = require('component-angular-partials');

// Specify the extensions you want to be able to compile. By default it is undefined and the plugin will crash.

angularPlugin.compileDefinitions = {
  jade: function(path, string) {
          return jade.compile(string, {filename: path})();
        }
};
builder.use(angularPlugin);

Keywords

angular

FAQs

Package last updated on 30 Aug 2013

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