AngularJS: Search & Sort Data

This article shows how you can search and sort data using AngularJS 1.x. We will be using code from previous article example. Our code contains country & their capitals name as an array and we display them using ng-repeat directive in HTML view. This is our example code from previous article: <html ng-app="myApp"> <head> <title>My … Read more

AngularJS: Working with JSON Data & HTTP Service

This article shows an example on how you can fetch JSON data from external file. First, let’s create an example of inline JSON data inside the controller. In the below code, in countryController, we have countries array containing country and capital name. In the HTML view, we have used ng-repeat directive to loop through the … Read more

AngularJS: Dependency Injection (DI)

This article shows how you can work with Dependency Injection (DI) in AngularJS 1.x application. It’s just about passing dependencies to AngularJS controller. Rest of the work on injecting dependencies is taken care by AngularJS. Dependency Injection (DI) is basically about passing a dependency object to another dependent object that uses it as a service. … Read more

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. AngularJS follows the MVC (Model View Controller) approach of coding. Two way data-binding is a prominent feature of AngularJS which automatically synchronizes data between model and view components. … Read more