in Angular by (14.0k points)
What is Angular

1 Answer

0 votes
by (14.6k points)
AngularJS Directives

AngularJS uses double braces {{ }} as place holders for data.

AngularJS directives are HTML attributes with the prefix ng-

The ng-app directive initializes an AngularJS application.

The ng-init directive initializes application data.

Example

<div ng-app="" ng-init="message='Hello AngularJS!'">

  <h1>{{ message }}</h1>

</div>

Related questions

0 votes
asked Aug 11 in Angular by DavidAnderson (9.0k points)
0 votes
0 votes
asked Aug 11 in Angular by DavidAnderson (9.0k points)
0 votes
...