Difference between interpolation and property binding

Angular evaluates all expressions in double curly braces, converts the expression results to strings, and concatenates them with neighboring literal strings. Finally, it assigns this composite interpolated result to an element or directive/component property. — from https://angular.io/docs/ts/latest/guide/template-syntax.html#!#interpolation Property binding does not convert the expression result to a string. So if you need to bind something … Read more

Angular [disabled]=”MyBoolean” not working

Try [attr.disabled]=”freitag? true : null” or [attr.readonly]=”freitag” instead. You are able to use attributes like [class.btn-lg]=”someValue” in a similar way. Your textbox works because of this: The disabled attribute is another peculiar example. A button’s disabled property is false by default so the button is enabled. When you add the disabled attribute, its presence alone … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)