I'm new to AngularJS and I'm facing an issue related to Views. I have a model of this kind (pseudo-code)
class Contract{
int IdContract;
int Title;
int IdPerson;
}
class Person{
int IdPerson;
string FirstName;
string LastName;
}
Now, I should have a view contractEdit.html that matches this route myapp/contract/edit. In that view, there should be some sort of nested view for showing the Person details linked to the Contract I'm editing. How should I do that with Angular ? I'm confused with Views and Directives... Should it be a Directive ?
Any help would be much appreciated