in Angular by
What is Angular

► Click here to show 1 Answer

0 votes
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.


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

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

Angular JS
Learn More with Madanswer

Related questions

0 votes
asked Feb 5 in Angular by SakshiSharma
0 votes
0 votes
asked Sep 18, 2019 in Angular by john ganales