You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
I would expect a button to display above the text '[]', and after clicking the button, the text would show '[foo]', then '[foo,foo]' and so on. That has been the behavior in earlier versions of angular, including -rc.2. Here is a Plunker of the expected behavior, with passing tests, under rc.2.
Under the new release candidate, the scopes are structured in such a way that the display is not properly initialized and clicking the button does not trigger the addFoo() function. Here is a Plunker exhibiting the regression behavior, with failing tests, under rc.3.
Interestingly, the application will work correctly with ng-controller under both -rc.2 and -rc.3 if changes so that the ng-controller is placed alone and within a container element, such as:
The behavior of ng-include has changed in -rc.3, and appears to be a regression. A simplified setup is along the lines of...
In -rc.2, this code worked as anticipated, but in -rc.3, scopes are structured in such a way that the controller is no longer working as anticipated.
For example, with main.html as
and mainCtrl.js as
I would expect a button to display above the text '[]', and after clicking the button, the text would show '[foo]', then '[foo,foo]' and so on. That has been the behavior in earlier versions of angular, including -rc.2. Here is a Plunker of the expected behavior, with passing tests, under rc.2.
Under the new release candidate, the scopes are structured in such a way that the display is not properly initialized and clicking the button does not trigger the addFoo() function. Here is a Plunker exhibiting the regression behavior, with failing tests, under rc.3.
Interestingly, the application will work correctly with ng-controller under both -rc.2 and -rc.3 if changes so that the ng-controller is placed alone and within a container element, such as:
or:
Clearly ng-controller is no longer working and playing well with other directives.
The text was updated successfully, but these errors were encountered: