AngularHintDirectives identifies whether you include all variables declared through two way binding. In the example below, we have declared the attributes 'breadcrumbs' and 'id' to exsist within the 'haBreadcrumbs' directive.
angular.module('breadcrumbs').
directive('haBreadcrumbs', function() {
return {
restrict: 'E',
templateUrl: 'components/breadcrumbs/breadcrumbs.html',
scope: {
breadcrumbs: '=',
id: '@'
}
};
});If you used your directive like in the HTML example below, you would be notified that you are missing the 'id' attribute from your 'haBreadcrumbs' directive.
<breadcrumbs ha-breadcrumbs="['home','profile','about']"> </breadcrumbs>