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

Add option for custom template to allow custom markup without editing so... #8

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

carpe171
Copy link

@carpe171 carpe171 commented Feb 3, 2015

txbm and others added 8 commits July 12, 2014 15:27
*This fix will allow undefined index handling...i.e. when onboardingSteps load
asynchronously and scope index is not yet available.

*Example:

*Say you have a factory, OnboardingFactory, that loads the steps.

		$scope.onboardingEnabled = false;

		OnboardingFactory.getOnboardingSteps().then(function(steps){
			$scope.onboardingSteps = steps;
			$scope.onboardingEnabled = true;
			$scope.onboardingIndex = 0;
		});

*Check index watch newval is undefined instead of === null to allow for this.
*Adjust step count to account for steps deferred initialization

*This fix will allow undefined index handling...i.e. when onboardingSteps load
asynchronously and scope index is not yet available.

*Example:

*Say you have a factory, OnboardingFactory, that loads the steps.

    $scope.onboardingEnabled = false;

    OnboardingFactory.getOnboardingSteps().then(function(steps){
        $scope.onboardingSteps = steps;
        $scope.onboardingEnabled = true;
        $scope.onboardingIndex = 0;
    });
*Check index watch newval is undefined instead of === null to allow for this.
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

Successfully merging this pull request may close these issues.

3 participants