I have a pattern, which I want to use twice, but with different values. For example:
.directive("day", function($scope){
return {
template: '<div>{{day}}</div>'
}
}
Can I use it in two another directive, but encapsulate 'day' to see result like that:
<div>1</div>
<div>2</div>
Especially if I want to keep binding value of all 'day'