More powerful than ngApp

Added by: Sam Deering





Stars: 63

Watchers: 63

Forks: 11

Module Description


As you 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:

You can also install it using bower: (Thanks to Kyle Kemp)

bower install ng-module

Module stats last updated: 2018-01-08 15:00:06

Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!