interest-info.js
angular.module('homepage').
directive('interestInfo', function() {
return {
restrict: 'E',
replace: true,
scope: {
interest: '=data'
},
templateUrl: 'components/content-components/input/interest-info.html',
controller: 'interestInfoController'
};
}).
controller('interestInfoController', function($scope) {
$scope.interest.list = [
{ 'value': "" }
];
});