I am totally new to Angular 2.0 with Typescript and just started liking it.
I have few doubts:
When to use a component and when to use a directive?
Can I assume every new page I create, be an individual component?
Best responsive UI library to work with (A 2.0 + TS)?
Best REST client libraries, that add more RESTful features support A2's existing Http module?
Easy ways to debug an (A2+TS) application? When ever I make any single simple mistakes, the browser just throws me ' Unexpected character < ' error when the app is ran.!!! :(
VignesH KumaR
Senior FrontEnd Dev @ Freshworks Inc.,
Juan Suarez
Creative Full-stack Developer
1- Following: blog.codeleak.pl/2015/06/angular2hello-world.html
A component is not the only UI building block in Angular 2. There are also directives which allow you to attach behavior to elements in the DOM.
The difference between a component and a directive in Angular 2 is that a component is a directive with a view whereas a directive is a decorator with no view.
2- Yes.
Use the Angular-CLI.
ng generate route hero
github.com/angular/angular-cli
3- https://material.angular.io/, in my opinion.
4- Why do you want another? Use Http.
5- Try again. RC1. https://augury.angular.io/