angular.js icon indicating copy to clipboard operation
angular.js copied to clipboard

docs($compile): Avoid all-caps for the attribute names of directive definition object

Open yuasakusa opened this issue 12 years ago • 3 comments

The page http://docs.angularjs.org/api/ng.$compile lists the attributes of the directive definition object such as “priority”, “terminal”, and “scope”. However, because of the stylesheets applied to the page, the attribute names are shown incorrectly in all-caps. This is particularly problematic with the attribute names where uppercase and lowercase letters are mixed, such as “controllerAs”.

yuasakusa avatar Jan 01 '14 23:01 yuasakusa

@matsko can you please take care of this. we should not be upper-casing these titles.

IgorMinar avatar Jan 03 '14 00:01 IgorMinar

Landed as https://github.com/angular/angular.js/commit/6f6cb5c8d83e2c05ac56eacb1802d91406b3d0c1

matsko avatar Jan 06 '14 15:01 matsko

Thanks for fixing!

yuasakusa avatar Jan 07 '14 11:01 yuasakusa