Let say I have a Angular app with directives like so:
<!doctype html>
<html lang="en" ng-app="cfd">
<head>
...
</head>
<body>
<div class="container">
<!-- Header -->
<div ui-view="header" class="row"></div>
<div ui-view="main" class="row">
<!-- Sidebar/Nav -->
<div ui-view="sidebar" class="col-xs-3"></div>
<!-- Content -->
<div ui-view="content" class="col-xs-9"></div>
</div>
<!-- Footer -->
<div ui-view="footer" class="row"></div>
</div>
</body>
</html>
How do I apply CSS to a directive using the Angular directive handle ui-view or any other custom directive, without adding an HTML ID handle. SO for the "main" section, I dont want the following: <div id="main" ui-view="main" class="row">.
I have tried .ui-view#main and ui-view#main.