Browsing Tag

application

Change row selection using arrows in ng-repeat

In this post we will implement row selection in ng-repeat using arrow keys.Earlier we had implement row selection in ng-repeat where when the user clicks on a row it gets highlighted.In this post we will go one step ahead and allow the…

How to Start an AngularJS Application

Once your command prompt comes back your sample AngularJS application is done building.The ng-view directive will tell AngularJS which “page” is being displayed and insert the correct view.AngularJS also provides the ng-init directive to…

AngularJS 2.0 From The Beginning

Internationalization (I18n) is the process of making sure that the application has elements that can help it render locale-specific content.Localization (L10n) on the other hand, is the actual process of adapting parts of the application…

Making HTTP Calls Using Angular

HTTP Calls in Angular 2 To use the Angular 2 Http module in our components, we have to first import the Http module.To do so, create new file inside the /src/app/ folder called app.service.ts and paste the code shown { Injectable } from {…

Angular CLI

The Angular CLI makes it easy to create an application that already works, right out of the box.Generate components, routes, services and pipes with a simple command.The CLI will also create simple test shells for all of these.Run your…