Browsing Tag

controller

Single Page Application using AngularJs Tutorial

The good thing about Angular is that it has a set of ready-to-use modules to simplify building of single page applications.Then need to specify our module in ng-app attribute and controller in ng-controller attribute If you done this correctly, you should see: Since we have our module and…
Read More...

AngularJS Development

Maintained by Google and community of corporations and individuals, AngularJS is an open-source web application framework.It helps addressing various complex challenges encountered while developing the single-page application.AngularJS…

Learning AngularJS Basics

Its job is to define the application and serve as a container for all the controllers of that application.To create a module, let’s look at the following code:scriptvar app = angular.module(“appModule”, );/scriptThis is the syntax to…

Using Promises in AngularJS Views

This admittedly contrived service’s ‘getMessages’ function takes a callback, then waits two seconds (using Angular’s $timeout service) before passing an array of messages to the callback function.In both the callback and promise versions…

AngularJs with Ruby on Rails

So I think AngularJs is a great tool for building the application with Ruby on Rails. Step 5: Now we are going to make a simple form that will take a book name from user and add this name in the books list shown below. AngularJs is great…

laxar-angular-adapter

Additionally an axWidgetServices service is available, which can be used by directives to gain access to services that are only available in the context of a specific widget, such as axFeatures , axI18n or the decorated log for widgets (…

Building a Typeahead Directive with AngularJS

Directives watch the value with a comparison on their own item and act . (I apparently lack consistent naming), and sets a class . component keeps track of which item is currently highlighted and the The end result is that the component is…