Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in Web Technology by (47.6k points)

I am very new to AngularJS. can anybody explain to me the difference among these AngularJS operators: &, @ and = when isolating scope with proper example.

1 Answer

0 votes
by (106k points)
edited by

The difference between ‘&’, ‘@’ and ‘=’ is as follows:-

@: This is used for one-way binding.

=: Equal is used for two-way binding.

&: function binding

Are you interested in learning Angularjs from the basics! Here's the right video for you on Angularjs provided by Intellipaat:

You can understand the differences by below code:-

scope:{ 

isolatedAttributeFoo:'@attributeFoo', isolatedBindingFoo:'=bindingFoo', 

isolatedExpressionFoo:'&' 

}

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Aug 30, 2019 in Web Technology by Sammy (47.6k points)

Browse Categories

...