hello Everyone
Please help , what am i missing I have a problem linking to an external template in a tab view. Every other templates are working fine from the tabs. But now i just want to hyperlink a text or button to an external template.
Html code to link to another external template
<button class="button button-icon icon " href="/templates/addreceipe.html">
Add item
</button>
here is my directive
.state(‘addreceipe’, {
url: “/myreceipes/:addreceipe”,
views:{
‘myreceipes’: {
templateUrl: ‘templates/addreceipe.html’,
controller: ‘AddItemCtrl’
}
}
});
controller is:
.controller('AddItemCtrl', function($scope) {});
Please what am I missing here, i cant seam to link this button to the template in templates folder
@mhartington @Calendee @Ionic
Thanks Everyone