Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chapter11: directive-broken-reference #29

Open
dongbohu opened this issue Sep 14, 2016 · 0 comments
Open

Chapter11: directive-broken-reference #29

dongbohu opened this issue Sep 14, 2016 · 0 comments

Comments

@dongbohu
Copy link

I noticed that the source code of chapter11/directive-broken-reference/index.html here is a little more complex than the code on the book (pages 186-187). It has an extra List of Stocks Repeating Manually section:

    <h3>List of Stocks Repeating Manually</h3>
    <div stock-widget stock-data="mainCtrl.stocks[0]">
    </div>
    <div stock-widget stock-data="mainCtrl.stocks[1]">
    </div>

I am a little confused why when the button in this section is clicked, it will update both List of Stocks Using Repeaters and List of Stocks Repeating Manually. (The book explained why when we click the button in List of Stocks Using Repeaters, the text in List of Stocks Repeating Manually wouldn't be updated.)

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

No branches or pull requests

1 participant