Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Error in documentation and more documentation for the examples wanted #1882

Closed
AndreasHeintze opened this issue Jan 25, 2013 · 1 comment
Closed

Comments

@AndreasHeintze
Copy link

In the documentation at http://docs.angularjs.org/guide/concepts#directives if you click on edit in plunker, the model doesn't work since ng-app is missing the module name. It should be

Besides that, can you please add some more info to the documentation about how this example works? I couldn't find any docs for $setViewValue and $render and how come if I press enter when editing the text it inserts the new line into a new div and not just inserts a br? How can I make it insert br instead?

@pkozlowski-opensource
Copy link
Member

This is duplicate of #1728

As for the documentation of $setViewValue and $render please refer to http://docs.angularjs.org/api/ng.directive:ngModel.NgModelController

You might find the http://docs.angularjs.org/guide/forms useful as well. If you need further help please post a message on the mailing list (angular@googlegroups.com).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants