{"action":"created","issue":{"url":"https://api.github.com/repos/formio/angular-formio/issues/133","repository_url":"https://api.github.com/repos/formio/angular-formio","labels_url":"https://api.github.com/repos/formio/angular-formio/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/formio/angular-formio/issues/133/comments","events_url":"https://api.github.com/repos/formio/angular-formio/issues/133/events","html_url":"https://github.com/formio/angular-formio/issues/133","id":254058190,"number":133,"title":"You must provide an AppConfig within your application!","user":{"login":"krixerx","id":8056394,"avatar_url":"https://avatars3.githubusercontent.com/u/8056394?v=4","gravatar_id":"","url":"https://api.github.com/users/krixerx","html_url":"https://github.com/krixerx","followers_url":"https://api.github.com/users/krixerx/followers","following_url":"https://api.github.com/users/krixerx/following{/other_user}","gists_url":"https://api.github.com/users/krixerx/gists{/gist_id}","starred_url":"https://api.github.com/users/krixerx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krixerx/subscriptions","organizations_url":"https://api.github.com/users/krixerx/orgs","repos_url":"https://api.github.com/users/krixerx/repos","events_url":"https://api.github.com/users/krixerx/events{/privacy}","received_events_url":"https://api.github.com/users/krixerx/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-30T16:20:00Z","updated_at":"2017-09-01T08:13:18Z","closed_at":"2017-09-01T08:13:18Z","author_association":"NONE","body":"I get a warning in console:\r\n\"You must provide an AppConfig within your application!\"\r\n\r\nHow to provide AppConfig?\r\n\r\nThanks!\r\nErki"},"comment":{"url":"https://api.github.com/repos/formio/angular-formio/issues/comments/326519064","html_url":"https://github.com/formio/angular-formio/issues/133#issuecomment-326519064","issue_url":"https://api.github.com/repos/formio/angular-formio/issues/133","id":326519064,"user":{"login":"krixerx","id":8056394,"avatar_url":"https://avatars3.githubusercontent.com/u/8056394?v=4","gravatar_id":"","url":"https://api.github.com/users/krixerx","html_url":"https://github.com/krixerx","followers_url":"https://api.github.com/users/krixerx/followers","following_url":"https://api.github.com/users/krixerx/following{/other_user}","gists_url":"https://api.github.com/users/krixerx/gists{/gist_id}","starred_url":"https://api.github.com/users/krixerx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krixerx/subscriptions","organizations_url":"https://api.github.com/users/krixerx/orgs","repos_url":"https://api.github.com/users/krixerx/repos","events_url":"https://api.github.com/users/krixerx/events{/privacy}","received_events_url":"https://api.github.com/users/krixerx/received_events","type":"User","site_admin":false},"created_at":"2017-09-01T08:13:18Z","updated_at":"2017-09-01T08:13:18Z","author_association":"NONE","body":"Solution:\r\n1) create empty configuration file \"formio-config.ts\" with content:\r\nexport const AppConfig = {\r\n\r\n};\r\n\r\n2) add import to \"app.module.ts\":\r\nimport {AppConfig} from '../formio-config';\r\n\r\n3) add provider (providers section) to \"app.module.ts\":\r\n{provide: FormioAppConfig, useValue: AppConfig}\r\n\r\n4) import FormioAppConfig in  \"app.module.ts\":\r\nimport {FormioModule, FormioAppConfig} from 'angular-formio';"}}
{"actor":{"display_login":"krixerx"}}