• Stars
    star
    202
  • Rank 193,691 (Top 4 %)
  • Language
    CSS
  • License
    Apache License 2.0
  • Created almost 11 years ago
  • Updated about 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Dashboard/Widgets functionality with AngularJS

angular-dashboard

Build Status

Further development in this project is split into separate repositories:

=================

Dashboard/Widgets functionality with AngularJS (Demo application for https://github.com/nickholub/angular-ui-dashboard).

Features:

  • Adding/removing widgets

  • Widgets are instantiated dynamically (from corresponding directive or template)

  • Widgets drag and drop (with jQuery UI Sortable)

  • Saving widgets state to local storage

  • Fluid layout (widgets can have percentage width)

  • Any directive can be a widget (e.g. AngularUI directives)

  • Connecting widgets to real-time data (WebSocket, REST, etc.)

  • Changing widget data source dynamically (from widget options)

Online demo with real-time data

AngularJS Dashboard

AngularJS Dashboard directive is available as independent library https://github.com/nickholub/angular-ui-dashboard.

Running Application (minimum dependencies)

  1. Node.js way

Install express

   $ npm install express

Run Node.js server

   $ node app.js

Application will be available at http://localhost:3000.

  1. Simple web server way

Start any web server in "dist" directory, e.g. with Python

   $ python -m SimpleHTTPServer 8080

Application will be available at http://localhost:8080

In both cases static files (including bundled JS/CSS) will be served from "dist" directory.

Running Application (development mode)

Install dependencies:

   $ npm install

Install Bower dependencies:

   $ bower install

Run Grunt server task:

   $ grunt server

Application will be available at http://localhost:9000

Building Application

Application is built with Grunt.

   $ npm install -g grunt-cli
   $ grunt

Links

angular-ui-dashboard AngularJS Dashboard directive.

Node.js Software platform built on JavaScript runtime

AngularJS JavaScript framework

ui-sortable AngularJS UI Sortable

jQuery UI Sortable jQuery UI Sortable plugin (reordering with drag and drop)

Bower Package manager for the web

Grunt JavaScript Task Runner

Yeoman Webapp generator

DDP Meteor Distributed Data Protocol

Meteor-DDP Meteor DDP Javascript client