All @View annotation properties @View also present in @Component . Previously, both used the examples, but from the beta version (and possibly earlier) the code samples on the angular.io website use only @Component . Is this the preferred way to create components?
source share