Skip to content
This repository has been archived by the owner on Oct 10, 2022. It is now read-only.

A friendly integration of AngularJS into RequireJS powered applications

License

Notifications You must be signed in to change notification settings

nikku/requirejs-angular-define

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ngDefine

Build Status

This project seamlessly integrates AngularJS into RequireJS based applications.

Overview

Using ngDefine you can leverage RequireJS to package AngularJS modules into reusable components.

ngDefine('my.module', [
  'jquery',
  './bar',
  'module:ngResource',
  'module:my.other.module:my-other-module'
], function(module, $) {

  // define the module
  module.value("foo", "bar");
});

ngDefine allows you to declare both plain RequireJS dependencies and AngularJS modules that get resolved using RequireJS before the module definition callback is called. Read more about it in the docs.

Resources

Building the Project

  1. Fork + clone the repository.
  2. Install dependencies via npm install.
  3. Build the library via grunt.

License

Use under terms of MIT license.

About

A friendly integration of AngularJS into RequireJS powered applications

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages