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

docs(guide/directive): clarify code examples for isolated scopes #4825

Closed
wants to merge 1 commit into from
Closed

Conversation

maxhq
Copy link
Contributor

@maxhq maxhq commented Nov 7, 2013

Now using different names for directive attribute and inner property name.
Before that, "customer" was used for both which made it harder to understand.

Now using different names for directive attribute and inner property name.
Before that, "customer" was used for both which made it harder to understand.
@petebacondarwin
Copy link
Contributor

@maxhq - I like what you are doing here but I would prefer info on the outside and customerInfo on the inside of the directive. What do you think?

@maxhq
Copy link
Contributor Author

maxhq commented Nov 13, 2013

Oh, it seems I mixed two ideas I had. Your proposal sounds good to me!
-- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-@ Mail gesendet.

Pete Bacon Darwin notifications@github.com schrieb am 13.11.2013:

@maxhq - I like what you are doing here but I would prefer info on
the outside and customerInfo on the inside of the directive. What do
you think?


Reply to this email directly or view it on GitHub:
#4825 (comment)

@petebacondarwin
Copy link
Contributor

Landed with some modifications.

jamesdaily pushed a commit to jamesdaily/angular.js that referenced this pull request Jan 27, 2014
Use different names for the attribute on the element (`info`) and the property (`customerInfo`)
on the isolate scope. Before `customer` was used for both which made it harder to understand.

Closes angular#4825
jamesdaily pushed a commit to jamesdaily/angular.js that referenced this pull request Jan 27, 2014
Use different names for the attribute on the element (`info`) and the property (`customerInfo`)
on the isolate scope. Before `customer` was used for both which made it harder to understand.

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

Successfully merging this pull request may close these issues.

2 participants