AngularJS: Basic Introduction [Beginner Tutorial]

  • ng-model: This directive binds the value of Angular JS application to HTMl input controls or bind value of HTML input field to Angular JS application variable.
  • ng-controller: This directive is used to define controller of the Angular JS application.
  • AngularJS Expression is used to bind application data to HTML view.
  • In the above code, we have used both curly double brackets and ng-bind directives to print application data.
  • We have just added new code that has company and its products as object data in the controller and that company name and products are displayed in view.

This article presents a basic introduction to AngularJS 1.x. AngularJS is a free and open source Javascript Framework. It’s a frontend web application framework

@techcozy: AngularJS: Basic Introduction [Beginner Tutorial]

This article presents a basic introduction to AngularJS 1.x. AngularJS is a free and open source Javascript Framework. It’s a frontend web application framework maintained by Google.

are markers on a DOM element that tell AngularJS’s HTML compiler to attach a specified behavior to that DOM element.

ng-app: This directive starts any Angular JS application. It’s generally written in root element of the application.

directive.

Inside the body html tag, we have also defined controller and model.

directive.

In the above code, we have used both curly double brackets and ng-bind directives to print application data.

In this tutorial, we learned about some basics of directive, filter, data-binding, controllers in AngularJS.

AngularJS: Basic Introduction [Beginner Tutorial]

You might also like More from author

Comments are closed, but trackbacks and pingbacks are open.