{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/ui-position/issues/1","labels_url":"https://api.github.com/repos/angular-ui/ui-position/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-position/issues/1/comments","events_url":"https://api.github.com/repos/angular-ui/ui-position/issues/1/events","html_url":"https://github.com/angular-ui/ui-position/issues/1","id":93369386,"number":1,"title":"Move ui-bootstrap/position here","user":{"login":"ProLoser","id":67395,"avatar_url":"https://avatars.githubusercontent.com/u/67395?v=3","gravatar_id":"","url":"https://api.github.com/users/ProLoser","html_url":"https://github.com/ProLoser","followers_url":"https://api.github.com/users/ProLoser/followers","following_url":"https://api.github.com/users/ProLoser/following{/other_user}","gists_url":"https://api.github.com/users/ProLoser/gists{/gist_id}","starred_url":"https://api.github.com/users/ProLoser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProLoser/subscriptions","organizations_url":"https://api.github.com/users/ProLoser/orgs","repos_url":"https://api.github.com/users/ProLoser/repos","events_url":"https://api.github.com/users/ProLoser/events{/privacy}","received_events_url":"https://api.github.com/users/ProLoser/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-06T20:25:10Z","updated_at":"2015-07-07T07:04:58Z","closed_at":null,"body":"So in line with the splitting up of `ui-utils`, a LOT of projects use nearly identical code to angular-ui/ui-bootstrap's position service. I believe it would be extremely useful to a LOT of projects online if we separated it out and let people use it as a dependency. This way we could collectively improve and streamline the logic used for all angular suites.\r\n\r\n@PowerKiKi you have been doing such an awesome job helping split up ui-utils, I was hoping you wouldn't mind doing the same thing with the `$position` service?\r\n\r\nThis would **not** entail making any changes to `ui-bootstrap` at the moment, but would at least lay out the groundwork for them to eventually switch to relying on this repository as a dependency. \r\n\r\nAlso pinging @wesleycho "},"comment":{"url":"https://api.github.com/repos/angular-ui/ui-position/issues/comments/119095715","html_url":"https://github.com/angular-ui/ui-position/issues/1#issuecomment-119095715","issue_url":"https://api.github.com/repos/angular-ui/ui-position/issues/1","id":119095715,"user":{"login":"wesleycho","id":1703387,"avatar_url":"https://avatars.githubusercontent.com/u/1703387?v=3","gravatar_id":"","url":"https://api.github.com/users/wesleycho","html_url":"https://github.com/wesleycho","followers_url":"https://api.github.com/users/wesleycho/followers","following_url":"https://api.github.com/users/wesleycho/following{/other_user}","gists_url":"https://api.github.com/users/wesleycho/gists{/gist_id}","starred_url":"https://api.github.com/users/wesleycho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesleycho/subscriptions","organizations_url":"https://api.github.com/users/wesleycho/orgs","repos_url":"https://api.github.com/users/wesleycho/repos","events_url":"https://api.github.com/users/wesleycho/events{/privacy}","received_events_url":"https://api.github.com/users/wesleycho/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T07:04:58Z","updated_at":"2015-07-07T07:04:58Z","body":"Copying/pasting the script & test from `master` is the simplest way - it is just a [service](https://github.com/angular-ui/bootstrap/blob/master/src/position/position.js).\r\n\r\nI am not sure what the `test.html` file is used for in the `test` directory.\r\n\r\nThe more complicated part is setting up the build tooling."}}