-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Defining the "Basic Usage" #3
Comments
Well, yeah, something like that would be the usage, I suppose. Have you looked closer to see if it easy to break out a directive from the application? |
Took a quick look, and the code seems really nice, it should be pretty easy to break that out. |
I'm currently working on that. There's some functionality in there that does not belong into the library IMHO, like saving forms or notifying the user of changes (locker, growl). |
Please do, it would be a killer feature if you could get that done. |
I'm gonna need this for my masters thesis, so eventually I'll have to ;-) |
Good choice. :-) |
I'm partial to: https://github.com/johnpapa/angular-styleguide |
Thanks, I'll give it a look and try to abide by it. |
So we can work towards a common goal I'd like to discuss how exactly the Json Schema Builder should be used / called / included.
I created a small "Basic Usage" example based on the Angular Schema Form Example.
As I see it, it should be enough to just have a $scope.schema and a $scope.form (and an optional $scope.options) object for passing & receiving data, right?
Here's what I think it could look like (from my fork)
First, expose your (existing) schema and form to the $scope.
Then load them into the Schema Form Builder using the
sfbSchema
andsfbForm
directives.Thoughts?
The text was updated successfully, but these errors were encountered: