js
app.directive('onlyLabelName', function($http) {
......
}
html
<input onlyLabelName><input>
when I open AngularJS websites(https://docs.angularjs.org/guide/directive),I see information on below:
The normalization process is as follows:
- Strip
x-anddata-from the front of the element/attributes.- Convert the
:,-, or_-delimited name tocamelCase.So,I need change onlyLabelName to only-label-name
No comments:
Post a Comment