resharper-angularjs
resharper-angularjs copied to clipboard
Cannot resolve custom directive tag whilst it does suggest the tag?
When adding elements my custom directive gets suggested:
However once I complete it, it cannot be resolved.
First part of code for directive:
/**
* @ngdoc directive
* @name lxnInput
* @restrict E
* @scope
* @param {object} lxn-options configuration object for direcctive}
*/
(function() {
var lexiaNumberDirectives = angular.module("lexiaNumberDirectives", []);
lexiaNumberDirectives.directive("lxnInput", function () {
return {
//Restrict to <lxn-input> usage only
restrict: 'E',
require: 'ngModel',
scope: {
ngModel: '=ngModel',
ngDisabled: '&',
lxOptions: '@lxnOptions'
},
The javascript file is included but not in the file itself (in the main template that is used on many pages).
What versions of ReSharper and Visual Studio are you using?
I am using Visual Studio Enterprise 2017 and Resharper 2017.1