AngularJS metadata

From Wiki @ Karl Jones dot com
Revision as of 14:18, 31 December 2016 by Karl Jones (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The AngularJS framework uses metadata in conjunction with directives, components, and templates.

Attach metadata with Typescript using decorator functions.

Most common is the @Component() decorator.

Takes a config option with selector, template (Url), providers, directives, pipes and styles.

See also