Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #114 from summerisgone/patch-1
Updated angular docs with more actual examples
  • Loading branch information
geelen committed Mar 8, 2016
2 parents b9d1a6b + 346b098 commit 2c98d96
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/using-css-modules-with-angular.md
Expand Up @@ -18,8 +18,9 @@ angular.module('myApp').controller('MyController', ($scope) => {
```html
<div ng-app="myApp">
<div ng-controller="MyController">
<header ng-class="{{::styles.bacon}}">
<h1 ng-class="{{::styles.pancakes}}">
<header class="{{::styles.bacon + ' ' + styles.pancakes}}">
<h1 class="{{styles.pancakes}}">pancakes (2-way binding)</h1>
<h1 ng-class="styles.bacon">bacon</h1>
<!-- ... --->
</header>
</div>
Expand Down

0 comments on commit 2c98d96

Please sign in to comment.