<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>change body style in angularjs</title>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.js"></script>
<script>
var app = angular.module('styleApp', []);
app.controller('styleAppCtrl', function($scope, $http, $document) {
angular.element($document).find('body').removeClass('my-style-calss');
});
</script>
</head>
<body ng-app="styleApp" class="my-style-calss">
<div ng-controller="styleCtrl">
change body style in angularjs
</div>
</body>
</html>
// Code goes here
/* Styles go here */