Angular interpolation is used display a component property in the respective view template with double curly braces and is used for one way data binding.
1. What is Angular Template and View A template is an HTML snippet that tells Angular how to render the component in angular application. The template is immediately associated with a component defines that component’s view. 2. Angular View Hierarchy The component can also contain a view hierarchy, which have embedded views, defined or associated […]
In this angular 2 component tutorial, learn what is a component in angular, how to create angular components, angular component metadata with example.
Learn to use angular HttpClient service to fetch data from online REST APIs and return it as Observable object/array. Upon any data event, the subscribers of observable will react. Table of Contents HTTPClient Setup Create service which return Observable Create observer which subscribe to Observable View HTML Template Demo HTTPClient Setup To use HTTPClient service, […]
Learn to create mock REST server locally which will simulate online REST APIs and produce desired JSON responses online. It is very handy to have such REST APIs mocking capability for quick development time.