Skip to content

Conversation

zhy1
Copy link

@zhy1 zhy1 commented Jan 20, 2017

If two view use the same controller name, switching between the two view will result in the initialization and delete operation simultaneously.

version 1

in controller
$scope.pageName=$state.current.name;

in view
<wizard name="{{pageName}}"
version 2

in controller
do nothing.

in view
do nothing.

… two view will result in the initialization and delete operation simultaneously.
@jacobscarter
Copy link
Collaborator

@zhy1 I am trying to understand the problem you are solving here, are you saying that you are naming a two wizards the same name? If so it seems like it would be a better practice to just not do so.

Is there an Issue open relating to this PR? Are any others in the community having this issue?

Also can you please rebase your branch from the current master, it will solve the CI build issues.

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

Successfully merging this pull request may close these issues.

2 participants