Software engineering facts, information, and skills categorized as Angular JS

Introduction to Angular JS

Varghese Chacko 2 years, 7 months ago

Angular JS logoAngular JS is a framework in JavaScript. It is distributed as a JavaScript file and could be included in any HTML page with script tag. <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.7.2/angular.min.js"></script> The angular JS extends the HTMLwith directives. The key directives are ng-app which defines the AngularJS application, the ng-model directive which bids value of HTML controls like input widgets to the app and ng-bind binds application data to the HTML.

AngularJS Services - The singleton data and code sharing method

Varghese Chacko 2 years, 7 months ago

Angular JS logoAngular services are used to organize code across the application and are wired together using Dependancy Injection. Angular services are lazily instantiated, i.e, they are instantiated only when an application component depends on it.They are singletons, ie there will be only one instance exists for the app and the components depending on the service gets the reference to the service.

Let us talk!

We take the vision which comes from dreams and apply the magic of science and mathematics, adding the heritage of our profession and our knowledge to create a design.