///
Angular Control & AbstractControlGroup Example
///
-/// ''')
+/// Password
+///
+///
+/// ''',
+/// )
/// class LoginComp {
/// void onLogIn(value) {
-/// // value === {'login': 'some login', 'password': 'some password'}
+/// // value == {'login': 'some login', 'password': 'some password'}
/// }
/// }
/// ```
///
/// We can also use ngModel to bind a domain model to the form.
///
-/// ```dart
+/// ```
/// @Component(
-/// selector: "login-comp",
-/// directives: [formDirectives],
-/// template: '''
-///
-/// ''')
+/// selector: 'login-comp',
+/// directives: [formDirectives],
+/// template: '''
+///
+/// ''')
/// class LoginComp {
-/// credentials: {login:string, password:string};
+/// String? login;
///
-/// onLogIn(): void {
-/// // credentials.login === "some login"
-/// // credentials.password === "some password"
-/// }
+/// String? password;
+///
+/// void onLogIn() {
+/// // login == 'some login'
+/// // password == some password'
+/// }
/// }
/// ```
@Directive(
diff --git a/ngforms/lib/src/directives/ng_form.dart b/ngforms/lib/src/directives/ng_form.dart
index f28b9d0baa..8eff255583 100644
--- a/ngforms/lib/src/directives/ng_form.dart
+++ b/ngforms/lib/src/directives/ng_form.dart
@@ -33,9 +33,10 @@ import 'shared.dart' show setUpControl, setUpControlGroup, composeValidators;
///
/// ### Example
///
-/// ```dart
+/// ```
/// @Component(
/// selector: 'my-app',
+/// directives: [coreDirectives, formDirectives],
/// template: '''
///
///
Submit the form to see the data object Angular builds
@@ -55,15 +56,14 @@ import 'shared.dart' show setUpControl, setUpControlGroup, composeValidators;
///
Form data submitted:
///
///
{{data}}
-///
''',
-/// directives: const [coreDirectives, formDirectives]
-/// })
+///
+/// ''',
+/// )
/// class App {
-///
-/// String data;
+/// String? data;
///
/// void onSubmit(data) {
-/// data = JSON.encode(data);
+/// this.data = json.encode(data);
/// }
/// }
/// ```
diff --git a/ngforms/lib/src/directives/ng_form_control.dart b/ngforms/lib/src/directives/ng_form_control.dart
index 85fb402af2..21f528858e 100644
--- a/ngforms/lib/src/directives/ng_form_control.dart
+++ b/ngforms/lib/src/directives/ng_form_control.dart
@@ -16,9 +16,10 @@ import 'shared.dart' show setUpControl;
/// changes, the value of the control will reflect that change. Likewise, if the value of the
/// control changes, the input element reflects that change.
///
-/// ```dart
+/// ```
/// @Component(
/// selector: 'my-app',
+/// directives: [coreDirectives, formDirectives]
/// template: '''
///