fitness-summary.js
angular.module('homepage').
directive('fitnessSummary', function () {
return {
restrict: 'E',
replace: true,
scope: {
fitness: '=data'
},
templateUrl: 'components/feature-components/fitness/fitness-summary.html'
}
});