Understanding Two-way Data Binding in AngularJS

Thanks, Houssem! I’m afraid at the moment that is not possible, however in your controller, you can write:

$scope.mystyles = {
 .myclass: {
  display: block
 }
};

In the HTML file:

<style>{{mystyles}}</style>