Home  >  Article  >  Web Front-end  >  The difference between AngularJs and Angular’s ​​commonly used instruction writing methods

The difference between AngularJs and Angular’s ​​commonly used instruction writing methods

不言
不言Original
2018-07-09 16:21:111255browse

This article mainly introduces the difference between AngularJs and Angular commonly used instructions. It has a certain reference value. Now I share it with you. Friends in need can refer to it

1: angularjs Directive

1.ng-bind

Replace the content of an HTML element with the value of a given variable or expression

2.ng-blur

Function that needs to be executed when the HTML element loses focus (, ,