prevent elements are bootstrapped more than once


An element like <div ng-module="Products" ng-controller="ProductsCtrl" class="container-fluid"> will generate an error like Uncaught Error: [ng:btstrpd] App Already Bootstrapped with this Element '&lt;div ng-module="UserNotfications" ng-controller="UserNotificationsCtrl" class="ng-scope"&gt;

Also: 
1. Can you explain your code convention? I tried to format the code in the same way you do, but it is not clear to me what convention you use.
2. I do not understand this part 
```
                                                           
   className = ' ' + element.className + ' ';              
   match = NG_MODULE_CLASS_REGEXP.exec(className);         
  if (match) {                                             
      moduleElements.push(element);                        
      modules.push((match[2] || '').replace(/\s+/g, ',')); 
                                                           
  } else {                                                 
```
Is the class important? I'm a newbie in angular, but as far as I know the class is not used to glue the controllers nor the modules. Should I keep it or remove it?