{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/ui-slider/issues/51","labels_url":"https://api.github.com/repos/angular-ui/ui-slider/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-slider/issues/51/comments","events_url":"https://api.github.com/repos/angular-ui/ui-slider/issues/51/events","html_url":"https://github.com/angular-ui/ui-slider/issues/51","id":36967647,"number":51,"title":"how to make ui-slider work with other libraries that need angular 1.2+","user":{"login":"abbood","id":774379,"avatar_url":"https://avatars.githubusercontent.com/u/774379?v=3","gravatar_id":"","url":"https://api.github.com/users/abbood","html_url":"https://github.com/abbood","followers_url":"https://api.github.com/users/abbood/followers","following_url":"https://api.github.com/users/abbood/following{/other_user}","gists_url":"https://api.github.com/users/abbood/gists{/gist_id}","starred_url":"https://api.github.com/users/abbood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abbood/subscriptions","organizations_url":"https://api.github.com/users/abbood/orgs","repos_url":"https://api.github.com/users/abbood/repos","events_url":"https://api.github.com/users/abbood/events{/privacy}","received_events_url":"https://api.github.com/users/abbood/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-07-02T10:01:44Z","updated_at":"2015-01-13T02:33:58Z","closed_at":null,"body":"I recall reading somewhere that in bower you can install packages as subtrees, meaning that one project can use multiple versions of the same library.. with each version of the library acting as a dependency for other libraries that need the different versions.\r\n\r\nI'm working on a project which uses both `angular-google-maps` and `ui-slider`.. \r\n`angular-google-maps` requires at least `angular 1.2.18+` and `ui-slider` needs `angular 1.0.8`\r\n`\r\nI was hoping to get something like this (ie output of bower list):\r\n\r\n    ├── angular#1.2.18\r\n    ├─┬ angular-google-maps#1.1.2 extraneous (latest is 1.1.6)\r\n    │ ├── angular#1.2.18\r\n    │ └── ..\r\n    ├─┬ angular-ui-slider#0.0.2\r\n    │ ├── angular#1.0.8\r\n    │ ├── ..\r\n\r\ninstead what happens is that when i attempt to install ui-slider on my existent project that *already* uses `angular 1.2.18`, I get this prompt:\r\n\r\n    Unable to find a suitable version for angular, please choose one:\r\n        1) angular#~1.0.x which resolved to 1.0.8 and is required by angular-ui-slider#0.0.2 \r\n        2) angular#1.2.5 which resolved to 1.2.5 and is required by angular-sanitize#1.2.5 \r\n        3) angular#1.2.18 which resolved to 1.2.18 and is required by angular-brunch-seed \r\n        4) angular#>=1 which resolved to 1.2.19 and is required by angular-bootstrap#0.5.0 \r\n        5) angular#~1.2.0 which resolved to 1.2.19 and is required by angular-masonry#0.8.1 \r\n        6) angular#1.2.x which resolved to 1.2.19 and is required by angular-google-maps#1.1.2 \r\n        7) angular#1.2.19 which resolved to 1.2.19 and is required by angular-animate#1.2.19 \r\n        8) angular#* which resolved to 1.2.19 and is required by restangular#1.4.0\r\n    \r\n    Prefix the choice with ! to persist it to bower.json\r\n    \r\nI naturally choose one to get 1.0.8:\r\n    \r\n    [?] Answer: 1\r\n    bower angular#~1.0.x                    install angular#1.0.8\r\n    bower angular-ui-slider#~0.0.2          install angular-ui-slider#0.0.2\r\n\r\n\r\nHowever when I run `bower list` I get:\r\n\r\n    ├── angular#1.0.8 incompatible with 1.2.18 (1.2.18 available, latest is 1.3.0-build.2867+sha.f07af61)\r\n    ├─┬ angular-animate#1.2.19 (latest is 1.3.0-build.2867+sha.f07af61)\r\n    │ └── angular#1.0.8 incompatible with 1.2.19 (1.2.19 available, latest is 1.3.0-build.2867+sha.f07af61)\r\n    ├─┬ angular-bootstrap#0.5.0 (latest is 0.11.0)\r\n    │ └── angular#1.0.8 (1.3.0-build.2867+sha.f07af61 available)\r\n    ├─┬ angular-cookies#1.2.5 (latest is 1.3.0-build.2867+sha.f07af61)\r\n    │ └── angular#1.0.8 incompatible with 1.2.5 (1.2.5 available, latest is 1.3.0-build.2867+sha.f07af61)\r\n    ├─┬ angular-google-maps#1.1.2 extraneous (latest is 1.1.6)\r\n    │ ├── angular#1.0.8 incompatible with 1.2.x (1.2.19 available, latest is 1.3.0-\r\n    ├─┬ angular-ui-slider#0.0.2\r\n    │ ├── angular#1.0.8 (latest is 1.3.0-build.2867+sha.f07af61)\r\n    ..\r\n\r\nquestion: why did bower make `angular 1.0.8` the *default* angular and the one used for *all* my other libraries.. rather than keep `angular 1.2.18` and just use `angular 1.0.8` for `angular-ui-slider`?\r\n"},"comment":{"url":"https://api.github.com/repos/angular-ui/ui-slider/issues/comments/69686320","html_url":"https://github.com/angular-ui/ui-slider/issues/51#issuecomment-69686320","issue_url":"https://api.github.com/repos/angular-ui/ui-slider/issues/51","id":69686320,"user":{"login":"tony0918","id":584805,"avatar_url":"https://avatars.githubusercontent.com/u/584805?v=3","gravatar_id":"","url":"https://api.github.com/users/tony0918","html_url":"https://github.com/tony0918","followers_url":"https://api.github.com/users/tony0918/followers","following_url":"https://api.github.com/users/tony0918/following{/other_user}","gists_url":"https://api.github.com/users/tony0918/gists{/gist_id}","starred_url":"https://api.github.com/users/tony0918/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tony0918/subscriptions","organizations_url":"https://api.github.com/users/tony0918/orgs","repos_url":"https://api.github.com/users/tony0918/repos","events_url":"https://api.github.com/users/tony0918/events{/privacy}","received_events_url":"https://api.github.com/users/tony0918/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T02:33:58Z","updated_at":"2015-01-13T02:33:58Z","body":"I think the issue has been fixed on github but hasn't updated to bower."}}