{"action":"created","issue":{"url":"https://api.github.com/repos/vlio20/angular-material-form-builder/issues/4","repository_url":"https://api.github.com/repos/vlio20/angular-material-form-builder","labels_url":"https://api.github.com/repos/vlio20/angular-material-form-builder/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/vlio20/angular-material-form-builder/issues/4/comments","events_url":"https://api.github.com/repos/vlio20/angular-material-form-builder/issues/4/events","html_url":"https://github.com/vlio20/angular-material-form-builder/issues/4","id":138376955,"number":4,"title":"Elements predefined in json ","user":{"login":"kuncevich","id":1283734,"avatar_url":"https://avatars.githubusercontent.com/u/1283734?v=3","gravatar_id":"","url":"https://api.github.com/users/kuncevich","html_url":"https://github.com/kuncevich","followers_url":"https://api.github.com/users/kuncevich/followers","following_url":"https://api.github.com/users/kuncevich/following{/other_user}","gists_url":"https://api.github.com/users/kuncevich/gists{/gist_id}","starred_url":"https://api.github.com/users/kuncevich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuncevich/subscriptions","organizations_url":"https://api.github.com/users/kuncevich/orgs","repos_url":"https://api.github.com/users/kuncevich/repos","events_url":"https://api.github.com/users/kuncevich/events{/privacy}","received_events_url":"https://api.github.com/users/kuncevich/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-04T04:43:33Z","updated_at":"2016-03-04T06:52:37Z","closed_at":null,"body":"Just trying to figure out If I have json predefined in file or somewhere in my `html/controller/etc` how to generate material elements this way. First thing I renamed `<pre>{{main.form | json}}</pre>` into`<textarea>{{main.form | json}}</textarea>` but if I modify json in textarea the material elements did't reflect the changes so then I modified the main.controller like that:\r\n\r\n```\r\n  var json = {\r\n    \"items\": [\r\n        {\r\n        \"type\": \"textarea\",\r\n        \"props\": {\r\n            \"title\": \"\",\r\n            \"helpText\": \"\"\r\n        },\r\n        \"config\": {\r\n            \"required\": false,\r\n            \"placeholder\": \"From Json\"\r\n        },\r\n        \"value\": \"\"\r\n        }\r\n    ]\r\n    };\r\n\r\n  /** @ngInject */\r\n  function MainController() {\r\n    vm = this;\r\n    vm.form = {\r\n      items: json\r\n    };\r\n  }\r\n```\r\n\r\nBut seams to be form-builder not working this way. Any thoughts how to make it working?"},"comment":{"url":"https://api.github.com/repos/vlio20/angular-material-form-builder/issues/comments/192142237","html_url":"https://github.com/vlio20/angular-material-form-builder/issues/4#issuecomment-192142237","issue_url":"https://api.github.com/repos/vlio20/angular-material-form-builder/issues/4","id":192142237,"user":{"login":"vlio20","id":4542641,"avatar_url":"https://avatars.githubusercontent.com/u/4542641?v=3","gravatar_id":"","url":"https://api.github.com/users/vlio20","html_url":"https://github.com/vlio20","followers_url":"https://api.github.com/users/vlio20/followers","following_url":"https://api.github.com/users/vlio20/following{/other_user}","gists_url":"https://api.github.com/users/vlio20/gists{/gist_id}","starred_url":"https://api.github.com/users/vlio20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlio20/subscriptions","organizations_url":"https://api.github.com/users/vlio20/orgs","repos_url":"https://api.github.com/users/vlio20/repos","events_url":"https://api.github.com/users/vlio20/events{/privacy}","received_events_url":"https://api.github.com/users/vlio20/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T06:52:36Z","updated_at":"2016-03-04T06:52:36Z","body":"Hey @kuncevich , can you please provide a plunker? it would be much easier.\r\n\r\nthanks"}}