-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Description
I'm using angular-localize#1.2.1 with angular#1.2.28. The bower.json dependencies is as follows:
"dependencies": {
"angular": ">=1.2 < 2",
"angular-cookies": ">=1.2 < 2",
"angular-sanitize": ">=1.2 < 2"
}
This lead to the library not working recently because it installed angular-sanitize#1.6.3, which depends on angular 1.6. I get the following error from it.
TypeError: undefined is not a constructor (evaluating 'angular.module('ngSanitize', [])
.provider('$sanitize', $SanitizeProvider)
.info({ angularVersion: '1.6.3' })')
at [sic]/bower_components/angular-sanitize/angular-sanitize.js:557
I think this will break for everyone not using angular 1.6, as info() was only added to angular.module in 1.6.
goody
Metadata
Metadata
Assignees
Labels
No labels