I am new to angular js. I want to apply css styles from external css file. i have defined .container class in css file i want to call it in angular js file using ng-class. But it is not working y. style.css
.container
{
width:900px;
height:600px;
border:1px solid;
margin:auto 0;
position:absolute;
background:red;
}
index.html
<!DOCTYPE html>
<html>
<head>
<script src="js/Angular.js"></script>
<link rel="stylesheet" href="css/style.css" />
</head>
<body>
<div ng-app="" ng-class="container" >
</div>
</body>
</html>
class="container"? Is there a particular reason why you need to useng-class?