{"action":"created","issue":{"url":"https://api.github.com/repos/kelp404/angular-form-builder/issues/64","labels_url":"https://api.github.com/repos/kelp404/angular-form-builder/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/kelp404/angular-form-builder/issues/64/comments","events_url":"https://api.github.com/repos/kelp404/angular-form-builder/issues/64/events","html_url":"https://github.com/kelp404/angular-form-builder/issues/64","id":52360571,"number":64,"title":"Rendering form elements from a stored JSON","user":{"login":"Th3Dr4g0n","id":10232523,"avatar_url":"https://avatars.githubusercontent.com/u/10232523?v=3","gravatar_id":"","url":"https://api.github.com/users/Th3Dr4g0n","html_url":"https://github.com/Th3Dr4g0n","followers_url":"https://api.github.com/users/Th3Dr4g0n/followers","following_url":"https://api.github.com/users/Th3Dr4g0n/following{/other_user}","gists_url":"https://api.github.com/users/Th3Dr4g0n/gists{/gist_id}","starred_url":"https://api.github.com/users/Th3Dr4g0n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Th3Dr4g0n/subscriptions","organizations_url":"https://api.github.com/users/Th3Dr4g0n/orgs","repos_url":"https://api.github.com/users/Th3Dr4g0n/repos","events_url":"https://api.github.com/users/Th3Dr4g0n/events{/privacy}","received_events_url":"https://api.github.com/users/Th3Dr4g0n/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-12-18T12:53:15Z","updated_at":"2015-09-25T08:13:05Z","closed_at":null,"body":"Hi,\r\n\r\nBefore I ask my question, I'd like to thank you for this wonderful form builder...\r\n\r\nI was able to get the JSON output of the form builder and passes it to a PHP function that stores it in the DB.\r\n\r\n[{\"component\":\"textInput\",\"editable\":true,\"index\":0,\"label\":\"Text Input\",\"description\":\"\",\"placeholder\":\"\",\"options\":[],\"required\":false,\"validation\":\"/.*/\"},{\"component\":\"textArea\",\"editable\":true,\"index\":1,\"label\":\"Text Area\",\"description\":\"\",\"placeholder\":\"\",\"options\":[],\"required\":false,\"validation\":\"/.*/\"},{\"component\":\"checkbox\",\"editable\":true,\"index\":2,\"label\":\"Checkbox\",\"description\":\"\",\"placeholder\":\"\",\"options\":[\"Option one\",\"Option two\"],\"required\":false,\"validation\":\"/.*/\"},{\"component\":\"radio\",\"editable\":true,\"index\":3,\"label\":\"Radio\",\"description\":\"\",\"placeholder\":\"\",\"options\":[\"Option one\",\"Option two\"],\"required\":false,\"validation\":\"/.*/\"},{\"component\":\"select\",\"editable\":true,\"index\":4,\"label\":\"Select\",\"description\":\"\",\"placeholder\":\"\",\"options\":[\"Option one\",\"Option two\"],\"required\":false,\"validation\":\"/.*/\"}]\r\n\r\nCan you show me an example on how to use this output to render the form elements once the form is loaded?\r\n\r\nIt is my first time to use AngularJS, so please forgive my ignorance.\r\n\r\nThanks in advance."},"comment":{"url":"https://api.github.com/repos/kelp404/angular-form-builder/issues/comments/143155980","html_url":"https://github.com/kelp404/angular-form-builder/issues/64#issuecomment-143155980","issue_url":"https://api.github.com/repos/kelp404/angular-form-builder/issues/64","id":143155980,"user":{"login":"vko-online","id":4560099,"avatar_url":"https://avatars.githubusercontent.com/u/4560099?v=3","gravatar_id":"","url":"https://api.github.com/users/vko-online","html_url":"https://github.com/vko-online","followers_url":"https://api.github.com/users/vko-online/followers","following_url":"https://api.github.com/users/vko-online/following{/other_user}","gists_url":"https://api.github.com/users/vko-online/gists{/gist_id}","starred_url":"https://api.github.com/users/vko-online/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vko-online/subscriptions","organizations_url":"https://api.github.com/users/vko-online/orgs","repos_url":"https://api.github.com/users/vko-online/repos","events_url":"https://api.github.com/users/vko-online/events{/privacy}","received_events_url":"https://api.github.com/users/vko-online/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T08:13:05Z","updated_at":"2015-09-25T08:13:05Z","body":"Still not clear how to render saved form data. "}}