Simple question I hope...
How do I enable on page load that the first radio is checked with the html below?
            <div class="app-margin-bottom app-margin-left">
                <input type="radio"
                       value="pdf"
                       ng-model="resource.type"
                       ng-click="enableUrlInput()"
                       name="resourceType"
                       required>
                    <span class="app-margin-right">PDF</span>
                <input type="radio"
                       name="resourceType"
                       ng-model="resource.type"
                       ng-click="enableUrlInput()"
                       value="url"
                       required> URL
            </div>
I have tried using checked as an attr but this gets ignored. I've also played around with setting resource.type to 'pdf' with the directive ng-checked.
 
    