Get Started: Angular Cloud Data Connector

Posted by Ronald Eddy on Friday, January 16, 2015

What is the Angular Cloud Data Connector?

Angular Cloud Data Connector, or AngularCDC is a library for AngularJS that allows you to work seamlessly with many data sources. AngularCDC supports offline mode and can handle all CRUD operations for you.

AngularCDC is built with a provider system, so you could plug your own services. For now, AngularCDC has a provider for Azure Mobile Services, and a few experimental providers on Facebook, Twitter, etc.

What Does AngularCDC Work With?

Data sources are provided by custom providers.

List of stable providers:

  • Azure Mobile Services

List of experimental providers:

  • Amazon Web Services (DynamoDB)
  • Facebook (read only)
  • Twitter (read only)
  • Ordrin (read only)
  • Nitrogen (read only)

Get Started with AngularCDC

Install Node Package Manager (NPM)

You will need NodeJS and NPM to compile sources. If you don’t have it yet, download NPM latest package.

Install Grunt

From the command line, install grunt client globally with

npm install -g grunt-cli

It will download the grunt task runner and other required plugins.

Install dependencies

Now install the required dependencies with :

npm install
It will download the grunt task runner and other plugins used to build AngularCDC like :

  • ts-compiler, the TypeScript compiler
  • grunt-typescript to wrap TypeScript compilation into a grunt module
  • grunt-contrib-watch to provide live compilation of TypeScript files

Launch Grunt

You are all set! Just run the grunt task by running the command :


It will run the “gruntfile.js” and compile all into “dist” folder.

Compile on the fly

The grunt script also defines a watcher task. It will compile your TypeScript files on the fly whenever you make changes to sources. To activate the watcher, simply run the “watch” target with the command :

grunt watch


apache license, version 2.0

Read more:

comments powered by Disqus