company-list.html

<div class="company-list">
    <div class="company list-item" ng-repeat="company in companies track by $index">
        <div class="" ng-show="companies.length > 1 || company.projects.length > 0">
            <div class="index">{{$index + 1}}</div>
            <div class="underline"></div>
        </div>
        <div class="inputfield">
            <label class="input-title">Company name</label>
            <input class="input-value" type="text" ng-model="company.companyName">
        </div>
        <div class="inputfield">
            <label class="input-title">Last Job Title</label>
            <input class="input-value" type="text" ng-model="company.jobTitle">
        </div>
        <div class="inputfield">
            <div class="split-two first">
                <label class="input-title">Start Date</label>
                <input class="input-value" type="text" ng-model="company.startDate">
                <!-- <input-with-plchldr placeholder="DD Month YYYY"></input-with-plchldr> -->
            </div>
            <div class="split-two second">
                <label class="input-title">End Date</label>
                <input class="input-value" type="text" ng-model="company.endDate">
                <!-- <input-with-plchldr placeholder="DD Month YYYY"></input-with-plchldr> -->
            </div>
        </div>
        <projects-list data="company.projects"></projects-list>
        <div class="inputfield">
            <button ng-click="addProject($index)" class="btn secondary-btn selected full-width" type="button" name="button">Add Project</button>
        </div>
    </div>

    <div class="inputfield">
        <button ng-click="addCompany()" class="btn secondary-btn full-width" type="button" name="button">Add Company</button>
    </div>
</div>