Angular2 directive, constructor vs onInit
<p>I am simply trying to figure out what the difference between the constructor and the onInit function is in a Directive in Angular2. To me both seems to be used when the object is created, so why would you not only use the constructor?</p>