How to declare a component in angular 2?
Answer / Padam Garg
*Declaring Components*: In Angular 2, you can create components by using the `@Component` decorator. The minimum requirement is defining a selector, template, and class for the component.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain the reasons that compel a web developer to choose angularjs for his web development project?
What are the symbols used in one way and two ways data binding?
Why is it called angular?
How can you bypass sanitation in angular and why would you do so?
Mention some angularjs directives and their purpose?
Can we use react in angular?
Why we use ng app in angularjs?
How to get user input from the $event object?
What is injector bubbling?
What are the disadvantages of angularjs?
Why should use angular js?
Explain AngularJS Application Life-Cycle?