Loading ...

Angular 2 Property Binding

Hello everybody, today I want to write few words about binding in AngularJS 2. There are two ways of making one way binding: element property binded to template expression property interpolation I've described it with following picture: Two-way Binding <input [(ngModel)]='property'> And...

What Is Service In Angularjs 2

Hello everybody, today I want to write few words about AngularJS 2 services, or if to be more specific what is Service in angular at all? If to speak very very shortly: Service - it's a class with focused purpose independent from any particular component. It can be caching purpose, or logging pur...