Angular JS Magazine

sâmbătă, 30 august 2014

The Boolean Attribute Directives

When Angular cannot deal with some HTML attributes it uses the built-in directives. For example, for src it uses ng-src, for href it uses ng-href and for srcset it uses ng-srcset. In case of ng-src, this is useful to eliminate the "NetworkError: 404 Not Found".