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

how to set the ng-init put to php variable? #7

Open
night1ightning opened this issue May 19, 2016 · 1 comment
Open

how to set the ng-init put to php variable? #7

night1ightning opened this issue May 19, 2016 · 1 comment

Comments

@night1ightning
Copy link

%span{ "ng-init"=> "available_days_month = $available_days_month" }

@starrychloe
Copy link

starrychloe commented Jan 12, 2017

Try
%span{"ng-init" => "available_days_month = ".$available_days_month }

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

2 participants