On Github scottnath / presentations
What's under the hood?
### Defining a JSON object
If the JSON object has more than one property, define it as multiple lines.
#### Before
```$scope.control.cclist = [{ccname:$scope.cc, highlightClass:'unchecked', done:false}];```
#### After
```
$scope.control.cclist = [{
ccname: $scope.cc,
highlightClass: 'unchecked',
done: false
}];
```
***
If the JSON object has more than one property, define it as multiple lines.
$scope.control.cclist = [{ccname:$scope.cc, highlightClass:'unchecked', done:false}];
$scope.control.cclist = [{
ccname: $scope.cc,
highlightClass: 'unchecked',
done: false
}];