{"action":"opened","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/5249","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/5249/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/5249/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/5249/events","html_url":"https://github.com/angular/angular-cli/issues/5249","id":212122302,"number":5249,"title":"How to import custom js and lode in OnInit() ","user":{"login":"sudhakarsukumar","id":7933195,"avatar_url":"https://avatars3.githubusercontent.com/u/7933195?v=3","gravatar_id":"","url":"https://api.github.com/users/sudhakarsukumar","html_url":"https://github.com/sudhakarsukumar","followers_url":"https://api.github.com/users/sudhakarsukumar/followers","following_url":"https://api.github.com/users/sudhakarsukumar/following{/other_user}","gists_url":"https://api.github.com/users/sudhakarsukumar/gists{/gist_id}","starred_url":"https://api.github.com/users/sudhakarsukumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sudhakarsukumar/subscriptions","organizations_url":"https://api.github.com/users/sudhakarsukumar/orgs","repos_url":"https://api.github.com/users/sudhakarsukumar/repos","events_url":"https://api.github.com/users/sudhakarsukumar/events{/privacy}","received_events_url":"https://api.github.com/users/sudhakarsukumar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-06T13:29:35Z","updated_at":"2017-03-06T13:29:35Z","closed_at":null,"body":"I need to send values to function print() in hello.js\r\nand work on it\r\n\r\nimport { Component, OnInit } from '@angular/core';\r\nimport * as hello from \"./hello.js\";\r\n\r\n@Component({\r\n  selector: 'hello',\r\n  templateUrl: 'hello.component.html'\r\n})\r\n\r\nexport class ChartsComponent implements OnInit {\r\n  \r\n   ngOnInit() {\r\n     $.print(\"hello\");\r\n    }\r\n}\r\n\r\n\r\nerror is \r\nProperty 'print' does not exist on type 'JQueryStatic'.)\r\n\r\n\r\n"}}
{"actor":{"display_login":"sudhakarsukumar"}}