i have question. can use "-" in name of models
$scope['general-text'] = "haha";
ng-model="general-text"
this doesn't work. suggestion?
wrap them in object on scope.
$scope.data = { 'general-text': 'haha' }; ng-model="data['general-text']"
i have question. can use "-" in name of models
$scope['general-text'] = "haha";
ng-model="general-text"
this doesn't work. suggestion?
wrap them in object on scope.
$scope.data = { 'general-text': 'haha' }; ng-model="data['general-text']"
Comments
Post a Comment