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...
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...
Hello everybody,
today I want to make short note about types of Data Binding in AngularJS 2.
here they are:
Interpolation. It looks like this in code: {{firstName}}
Property binding. Sample in code: <img [src]='person.photo'>
Event binding. Html code pattern: <button (click)='show...