angularjs - Term for the Pseudo Code Inside of an Angular Directive -


let's have following:

ng-options="item.name item in filters" 

is code related ng-options considered javascript? or there term angular uses call code embed inside of html directives?

that code can lot of things. string, array, function. of time, angular calls angular expression. check out http://docs.angularjs.org/guide/expression

from docs:

  • context: javascript expressions evaluated against global window. in angular, expressions evaluated against scope object.

  • forgiving: in javascript, trying evaluate undefined properties generates referenceerror or typeerror. in angular, expression evaluation forgiving undefined , null.

  • no control flow statements: cannot use following in angular expression: conditionals, loops, or exceptions.

  • filters: can use filters within expressions format data before displaying it.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -