diff --git a/docs/components/angular-bootstrap/bootstrap.js b/docs/components/angular-bootstrap/bootstrap.js index f610bfb44d68..b9b5e38278f5 100644 --- a/docs/components/angular-bootstrap/bootstrap.js +++ b/docs/components/angular-bootstrap/bootstrap.js @@ -193,7 +193,7 @@ directive.table = function() { return { restrict: 'E', link: function(scope, element, attrs) { - if (!attrs.class) { + if (!attrs['class']) { element.addClass('table table-bordered table-striped code-table'); } }