{"action":"closed","issue":{"url":"https://api.github.com/repos/valor-software/ngx-bootstrap/issues/3076","repository_url":"https://api.github.com/repos/valor-software/ngx-bootstrap","labels_url":"https://api.github.com/repos/valor-software/ngx-bootstrap/issues/3076/labels{/name}","comments_url":"https://api.github.com/repos/valor-software/ngx-bootstrap/issues/3076/comments","events_url":"https://api.github.com/repos/valor-software/ngx-bootstrap/issues/3076/events","html_url":"https://github.com/valor-software/ngx-bootstrap/issues/3076","id":275309355,"number":3076,"title":"ngx-bootstrap is not working for dropdown menu","user":{"login":"kamalakkanni","id":29912014,"avatar_url":"https://avatars3.githubusercontent.com/u/29912014?v=4","gravatar_id":"","url":"https://api.github.com/users/kamalakkanni","html_url":"https://github.com/kamalakkanni","followers_url":"https://api.github.com/users/kamalakkanni/followers","following_url":"https://api.github.com/users/kamalakkanni/following{/other_user}","gists_url":"https://api.github.com/users/kamalakkanni/gists{/gist_id}","starred_url":"https://api.github.com/users/kamalakkanni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamalakkanni/subscriptions","organizations_url":"https://api.github.com/users/kamalakkanni/orgs","repos_url":"https://api.github.com/users/kamalakkanni/repos","events_url":"https://api.github.com/users/kamalakkanni/events{/privacy}","received_events_url":"https://api.github.com/users/kamalakkanni/received_events","type":"User","site_admin":false},"labels":[{"id":735232987,"url":"https://api.github.com/repos/valor-software/ngx-bootstrap/labels/can%20be%20closed?","name":"can be closed?","color":"1d76db","default":false},{"id":411843982,"url":"https://api.github.com/repos/valor-software/ngx-bootstrap/labels/comp(dropdown)","name":"comp(dropdown)","color":"0e8a16","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-11-20T10:41:49Z","updated_at":"2017-11-20T13:45:46Z","closed_at":"2017-11-20T13:45:46Z","author_association":"NONE","body":"Hi\r\n\r\nI would have installed ngx-bootstrap.\r\n\r\nadded below code in app.module.ts\r\n\r\n\r\nimport { BsDropdownModule } from 'ngx-bootstrap/dropdown'\r\n@NgModule({\r\n  imports: [BsDropdownModule.forRoot(),...]\r\n})\r\nexport class AppModule(){}\r\n\r\nadded below lines app.component.html\r\n\r\n<div  class=\"dropdown\" dropdown>\r\n    <a dropdownToggle class=\"pull-right text-center btn btn-setting dropdown-toggle\"  data-toggle=\"dropdown\" aria-haspopup=\"true\" aria- expanded=\"true\"><i class=\"fa fa-cog\"></i></a>\r\n    <ul *dropdownMenu class=\"dropdown-menu\" role=\"menu\" aria-labelledby=\"menu1\">\r\n        <li role=\"presentation\">  <a role=\"menuitem\" tabindex=\"-1\" href=\"#\" data-toggle=\"modal\" data-target=\"#myModal\"><i class=\"fa fa-cog\"></i>Settings</a></li>\r\n    </ul>\r\n</div>\r\nmy package.json is\r\n\r\n{\r\n \"name\": \"offline-new\",\r\n \"version\": \"0.0.0\",\r\n \"license\": \"MIT\",\r\n \"angular-cli\": {},\r\n \"scripts\": {\r\n\"ng\": \"ng\",\r\n\"start\": \"ng serve\",\r\n\"test\": \"ng test\",\r\n\"pree2e\": \"webdriver-manager update --standalone false --gecko false\",\r\n\"e2e\": \"protractor\"\r\n },\r\n\"private\": true,\r\n\"dependencies\": {\r\n\"@angular/common\": \"^2.3.1\",\r\n\"@angular/compiler\": \"^2.3.1\",\r\n\"@angular/core\": \"^2.3.1\",\r\n\"@angular/forms\": \"^2.3.1\",\r\n\"@angular/http\": \"^2.3.1\",\r\n\"@angular/platform-browser\": \"^2.3.1\",\r\n\"@angular/platform-browser-dynamic\": \"^2.3.1\",\r\n\"@angular/router\": \"^3.3.1\",\r\n\"@types/hammerjs\": \"^2.0.35\",\r\n\"angular2-drag-scroll\": \"^1.4.4\",\r\n\"angular2-fontawesome\": \"^0.9.3\",\r\n\"bootstrap\": \"^3.3.7\",\r\n\"core-js\": \"^2.4.1\",\r\n\"font-awesome\": \"^4.7.0\",\r\n\"hammerjs\": \"^2.0.8\",\r\n\"jsstore\": \"^1.2.6\",\r\n\"ng2-materialize\": \"^1.3.2\",\r\n\"ngx-bootstrap\": \"^2.0.0-beta.8\",\r\n\"rxjs\": \"^5.0.1\",\r\n\"ts-helpers\": \"^1.1.1\",\r\n\"zone.js\": \"^0.7.2\"\r\n },\r\n \"devDependencies\": {\r\n\"@angular/cli\": \"^1.5.0\",\r\n\"@angular/compiler-cli\": \"^2.3.1\",\r\n\"@types/jasmine\": \"2.5.38\",\r\n\"@types/node\": \"^6.0.42\",\r\n\"codelyzer\": \"~2.0.0-beta.1\",\r\n\"jasmine-core\": \"2.5.2\",\r\n\"jasmine-spec-reporter\": \"2.5.0\",\r\n\"karma\": \"1.2.0\",\r\n\"karma-chrome-launcher\": \"^2.0.0\",\r\n\"karma-cli\": \"^1.0.1\",\r\n\"karma-jasmine\": \"^1.0.2\",\r\n\"karma-remap-istanbul\": \"^0.2.1\",\r\n\"protractor\": \"~4.0.13\",\r\n\"ts-node\": \"1.2.1\",\r\n\"tslint\": \"^4.3.0\",\r\n\"typescript\": \"~2.0.3\"\r\n}\r\n}\r\nI got ./node_modules/ngx-bootstrap/dropdown/bs-dropdown.directive.‌​js 247:16-25 \"export 'Renderer2' was not found in '@angular/core' warning error and \"Can't resolve all parameters for BsDropdownContainerComponent: ([object Object], [object Obje…, \" console error.Pls help me to fix this"}}
{"actor":{"display_login":"kamalakkanni"}}