Modular AngularJS NuGet Packages | John Papa

John Papa

Evangelist on the loose

Modular AngularJS NuGet Packages

...

angular-iconNow serving smaller bite sized AngularJS NuGet packages! AngularJS 1.2 shifted to a more modular approach where the core AngularJS features are in angular.js while other functionality such as routing, animation, and resource are located in their own separate files. Each file hosts a module that you can optionally include in your project.

UPDATE: This page will serve as a sticky page to jump directly to all of the packages. See the list below. Since there are now a bunch of files for the various modules and there are dozens of internationalization files for angular, the AngularJS super NuGet package can feel overwhelming if you don’t want all of it. if you do want all or most of it, then its still a great package. But if you want to pick and choose, well, that’s where these new packages may interest you. Scott Hanselman and I maintain a series of Angular NuGet packages (see below) that have the philosophy of ‘1 Package Per Module’. There is the AngularJS.Core package which contains angular.js, angular.min.js, angular.min.js.map, and angular.mocks.js. These are the core files for an angular project (mocks for testing). All of the other packages listed below depend on the AngularJS.Core package and add their appropriate feature/module.
* AngularJS.Core
* AngularJS.Animate
* AngularJS.Cookies
* AngularJS.Loader
* AngularJS.Locale
* AngularJS.Resource
* AngularJS.Route
* AngularJS.Sanitize
* AngularJS.Touch These packages are currently available and you can install them by running:

Install-Package AngularJS.Core

This will install the core AngularJS files.

tags: angular nuget
%d bloggers like this: