Tried a few different solutions, not sure where exactly I'm going wrong. I know the directive is linked properly, and have tried template instead of templateURL to test if it would work that way, but nothing.
Directive:
app.directive('printTasks', function() {
return {
restrict: 'E',
replace: 'true',
scope: {
info: '='
},
templateUrl: '../printTasks.html'
};
});
console.log('printTasks is linked');
Calling in HTML:
<section ng-controller="MainController">
<header>This Week
<a href="">
<i class="fa fa-2x fa-stack-2x fa-plus"></i>
</a>
</header>
<printTasks/>
</section>
I've also tried and that hasn't worked either. Anyone have any ideas?