mervick / yii2-mthaml

The MtHaml integration for the Yii2 framework.
MIT License
8 stars 1 forks source link

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

Open night1ightning opened 8 years ago

night1ightning commented 8 years ago

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

starrychloe commented 7 years ago

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