I'm new to Angular 2.0 and angular in general. I've been digging around for a few days now on this problem, and I can't seem to find a word about it anywhere. I have a component that calls an external HTML in the TemplateURL as follows:
@Component({
selector: 'Form-template',
templateUrl: "app/components/HTMLReferences/CommentsForm.html",
styleUrls: ["app/components/CSSReferences/CommentForm.css"]
})
Nothing crazy here.
Now in my template I need to load an object variable, "frequencies", to populate the drop down box. The code inside the external HTML template is as follows:
<div class="dropdown">
<select id="frequency"
class="form-control"
#frequency="ngModel"
ngModel
required>
<option value=""></option>
<option *ngFor="let frequency of frequencies" value="{{ frequency.id }}">
{{frequency.label}}
</option>
</select>
</div>
again, nothing special. The object is in the component's export class as follows:
export class FormTemplateComponent {
frequencies = [
{ id: 1, label: 'Daily' },
{ id: 2, label: 'Weekly' },
{ id: 3, label: 'Monthly' }
];
}
When I load the page nothing appears in the drop down box. Here's a screen shot:
My FromTemplateComponent is also available in the NGModules file under declarations.
I have to be missing something incredibly silly in all this, but I just can't seem to figure it out. Thoughts?

