castillo-io / angular-css

CSS on-demand for AngularJS [Looking for New Maintainers]
http://castillo-io.github.io/angular-css/#/
MIT License
470 stars 86 forks source link

Injection shows error due to and module name is 'door3.css' in 1.0.7 #65

Closed minderrd closed 8 years ago

minderrd commented 8 years ago

I install angular-css using bower and I got angular-css 1.0.7. The problem is the module name is door3.css rather then 'angularCSS'.

here is what I got.

/**
 * AngularCSS - CSS on-demand for AngularJS
 * @version v1.0.7
 * @author DOOR3, Alex Castillo
 * @link http://door3.github.io/angular-css
 * @license MIT License, http://www.opensource.org/licenses/MIT
 */

'use strict';

(function (angular) {

  /**
   * AngularCSS Module
   * Contains: config, constant, provider and run
   **/
  var angularCSS = angular.module('door3.css', []);

and here is new version in github

/**
 * AngularCSS - CSS on-demand for AngularJS
 * @version v1.0.8
 * @author Alex Castillo
 * @link http://castillo-io.github.io/angular-css
 * @license MIT License, http://www.opensource.org/licenses/MIT
 */

'use strict';

(function (angular) {

  /**
   * AngularCSS Module
   * Contains: config, constant, provider and run
   **/
  var angularCSS = angular.module('angularCSS', []);

should I use door3.css or wait for 'angularCSS'

oopsyummy commented 8 years ago

You may download the raw copy from the repo if your version from bower or jspm is still at version 1.0.7. In 1.0.8 it should be "angularCSS".

alexcastillo commented 8 years ago

Yes, we've renamed the module name to "angularCSS". I updated the docs and demo pages to reflect this.