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

angularify

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angularify

Load angular dependencies in a browserify friendly manner with simple version selection.

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

angular-browserify

Browserify transform to load angular dependencies in a browserify friendly manner with simple version selection via the require statement.

Install (NOT YET PUBLISHED TO NPM)

npm install angularify

Usage in Code

In your application entry file simply use the standard require statement to have a speecific version of Angular or a code Angular module loaded. You only need to do this once as Angular is then made global and modules will be bound in the usual Angular manner!

An example Browserify entry point file is below.

// Angular is now included in your browserify build (bundle.js)
require('angular@1.2.2');

// ngRoute is now included in your build too!
require('angular-route@1.2.2');

angular.module('MyApp', ['ngRoute']);

// Now write your app!

TODO

Tests. I have just made this repository public and gotten the transform behaving, but now it needs to be tested to verify it works the way one expects it to in the browser.

Keywords

FAQs

Package last updated on 06 Jun 2014

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