Showing Articles for Angular

Nov 30, -0001

AngularJS and Javascript Minification

Write Angular code which servives minification

Each time you create Controller, Directives, Modules in Angular, it uses dependency injection concept to inject objects, dependency injection looks for parameters passed to closure as string and finds matching component, we will see how to make this work in minified js file.

Apr 18, 2015

Using Cookies in AngularJS

Utilizing cookies to store data to persist states

AngularJS provides ngCookies Module for cookie manipulation, we are going to create navigation bar with options to select theme, using cookieStore function we will store theme and load theme when browser reloads.

Apr 30, 2015

Simple Sidebar navigation example using angular

Creating Sidebar navigation with hide and reveal functionality using angular

We will use directive and controller together in AngularJS to create sidebar navigation while keeping seperation of concern.

Aug 11, 2015

WYSIWYG Rich Text Editor Using AngularJS

Adding Ckeditor Rich Text editor to your site

Adding WYSIWYG text editor is your site is dead simple, We are going to use Ckeditor and AngularJs to add Rich Text editor with just few lines of code.

Aug 12, 2015

LocalStorage and SessionStorage made easy in AngularJs

Working with Localstorage and Session Storage using ngStorage

ngStorage module example in AngularJS to work with HTML5 local storage, local storage in HTML5 is great way to store client-specific data inside browser and ngStorage made it easy to use with Angular.

Sep 7, 2015

How to share data between controllers in AngularJS

Using Services to share data between controllers

Services provide great way to share data throughout the app. The services are singletons object that can be injected into controllers which makes them perfect place to put reusable code such as API calls.

Aug 30, 2015

How to submit forms in AngularJs Multiple ways

Various ways to process forms in AngularJS

Multiple ways to submit forms in AngularJS, in this tutorial we are going to see three ways we can submit forms, when form is posted we will intercept using angular and process it with AngularJS.

Sep 10, 2015

How to use Disqus in AngularJs

Make Disqus commenting system to work in your AngularJS Application

Adding Disqus code in our AngularJS application might not work because of the way AngularJS works, so we are going to use dirDisqus directive by Michael Bromley to make it work angular way.

Oct 10, 2015

How to share data between directives in AngularJs

Sharing data between directives in AngularJs with example

We often need to share data in AngularJs, in controllers you can use service but what about directives, well to share data between directives we can use controller, let's see how to do it.

Nov 4, 2015

Creating Angular Controllers using TypeScript

Creating AngularJS controller classes with TypeScript

In this tutorial we are going to create a simple AngularJs Controller as a class using TypeScript, we are creating a simple controller and going to convert it to typescript class.