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

Can't reference a controller's function from template #255

Open
bgadiel opened this issue Oct 16, 2017 · 2 comments
Open

Can't reference a controller's function from template #255

bgadiel opened this issue Oct 16, 2017 · 2 comments

Comments

@bgadiel
Copy link

bgadiel commented Oct 16, 2017

Hello
I am not able to reference a function (vm.selectModelType()) from the controller when using template in :

<wizard class="clearfix" hide-indicators="true" current-step="vm.curStep">
        <wz-step template="app/step1.html" wz-title="1"></wz-step>
</wizard>

The problem disappears when I add the html code directly:

<wizard class="clearfix" hide-indicators="true" current-step="vm.curStep">
    <wz-step wz-title="1">
        <h3>Choose Market To Create</h3>
        <div class="cards-holder">
            <md-card ng-click="vm.selectModelType(1)">
                <h3>1 Product Model</h3>
            </md-card>
            <md-card ng-click="vm.selectModelType(2)">
                <h3>2 Product Model</h3>
            </md-card>
        </div>
    </wz-step>
</wizard>

Any help please?

@bgadiel
Copy link
Author

bgadiel commented Oct 23, 2017

?

@bgadiel bgadiel changed the title Can't reference a function from template Can't reference a controller's function from template Oct 24, 2017
@bgadiel
Copy link
Author

bgadiel commented Dec 18, 2017

@jacobscarter , help please?

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