Deep dive Angular2

Just how many directive you know in Angular2?


  imports: [ BrowserModule ],
  declarations: [ MyComponent ],
  bootstrap: [ MyComponent ]


Control component


Service as we know it.


Use  this for creating Angular2 directive.
What is the differences between directive and component? Directive you can use it along with existing HTML mark up. Component stands by itself.



Popular posts from this blog

ionic2 cordova build android - Unable resolve gradle 2.2.3

OpenCover code coverage for .Net Core

A quick tutorial for OWASP ZAP tool for beginners