An AngularJS component to show nutritional information, supporting one level deep of children.
$scope.nutrition = [{
name: 'Carbohydrates',
total: '50mg',
children: [{
name: 'Dietary Fiber',
total: '10g'
},{
name: 'Sugars',
total: '30g'
}]
}]
<jc-nutritional-info nutrition-data="nutrition">
<jc-nutritional-info>
bower install
npm install .
npm test