title: Angular 2 Cannot use directive form a nested module
body: <p>I am trying to define a directive that would hide elements if a user doesn't have a certain claim. </p>
  
  <p>After i define the directive i declare it in application.module declarations.</p>
  
  <p>The problem is that i am unable to use the directive from a module that is nested inside of application.module. If i use the directive inside a component that is 'next' to application module it works fine, but when i use the directive from a component that is inside of a nested module then it is not recognized by compiler and throws an error and if i declare the directive again compiler throws up again because it is being declared elsewhere.</p>