education-list.js

angular.module('homepage').
directive('educationList', function() {
    return {
        restrict: 'E',
        replace: true,
        scope: {
            educations: '=data'
        },
        templateUrl: 'components/content-components/input/education-list.html',
        controller: 'educationListController'
    };
}).
controller('educationListController', function($scope, Education) {
    if(!$scope.educations || $scope.educations.length === 0) {
        $scope.educations = [];
        $scope.educations[0] = new Education();
    }

    $scope.addEducation = function () {
        var length = $scope.educations.length;
        $scope.educations[length] = new Education();
    };
});