**Note:** These `=attr` attributes in the `scope` option of directives are normalized just like directive names.
@@ -462,7 +462,7 @@ from within our directive's template:
return {
restrict: 'E',
scope: {
- customer: '=customer'
+ innercustomer: '=person'
},
templateUrl: 'my-customer-plus-vojta.html'
};
@@ -470,11 +470,11 @@ from within our directive's template:
-
+
- Name: {{customer.name}} Address: {{customer.address}}
+ Name: {{innercustomer.name}} Address: {{innercustomer.address}}
Name: {{vojta.name}} Address: {{vojta.address}}