8000 GitHub - blambodhar/ngModule: More powerful than ngApp · GitHub
[go: up one dir, main page]

Skip to content

About

More powerful than ngApp

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

ngModule

As your AngularJS application gets more complex you will likely come to discover that the ngApp directive has two fairly big limitations:

  1. You can only have one ngApp per page.
  2. You can only associate a single module with a single HTML element

The ngModule directive gets around these limitations. It allows you to associate more than one module with more than one element.

For a detailed explaination read the original blog post this directive was derived from:

http://www.simplygoodcode.com/2014/04/angularjs-getting-around-ngapp-limitations-with-ngmodule/

You can also install it using bower:

$ bower install ng-module

(Thanks to Kyle Kemp for that)

About

More powerful than ngApp

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0