diff options
Diffstat (limited to 'docs/src/templates/doc_widgets.js')
| -rw-r--r-- | docs/src/templates/doc_widgets.js | 8 | 
1 files changed, 5 insertions, 3 deletions
| diff --git a/docs/src/templates/doc_widgets.js b/docs/src/templates/doc_widgets.js index 17284a1d..72f59f74 100644 --- a/docs/src/templates/doc_widgets.js +++ b/docs/src/templates/doc_widgets.js @@ -81,14 +81,16 @@            fiddleSrc = fiddleSrc.replace(new RegExp('^\\s{' + stripIndent + '}', 'gm'), '');            return '<form class="jsfiddle" method="post" action="' + fiddleUrl + '" target="_blank">' + -                    '<textarea name="css">' + +                    '<textarea ng:model="css">' + +                      '.ng-invalid { border: 1px solid red; } \n' +                        'body { font-family: Arial,Helvetica,sans-serif; }\n' +                        'body, td, th { font-size: 14px; margin: 0; }\n' +                        'table { border-collapse: separate; border-spacing: 2px; display: table; margin-bottom: 0; margin-top: 0; -moz-box-sizing: border-box; text-indent: 0; }\n' +                        'a:link, a:visited, a:hover { color: #5D6DB6; text-decoration: none; }\n' + +                      '.error { color: red; }\n' +                      '</textarea>' + -                    '<input type="text" name="title" value="AngularJS Live Example">' + -                    '<textarea name="html">' + +                    '<input type="text" ng:model="title" value="AngularJS Live Example">' + +                    '<textarea ng:model="html">' +                        '<script src="' + angularJsUrl + '" ng:autobind></script>\n\n' +                        '<!-- AngularJS Example Code: -->\n\n' +                        fiddleSrc + | 
