Dashboard/Widgets functionality with AngularJS
Dashboard/Widgets functionality with AngularJS (Demo application for https://github.com/nickholub/angular-ui-dashboard).
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)
AngularJS Dashboard directive is available as independent library https://github.com/nickholub/angular-ui-dashboard.
$ npm install express
Run Node.js server
$ node app.js
Application will be available at http://localhost:3000.
Start any web server in "dist" directory, e.g. with Python
bash $ python -m SimpleHTTPServer 8080Application will be available at http://localhost:8080
In both cases static files (including bundled JS/CSS) will be served from "dist" directory.
$ npm install
Install Bower dependencies:
$ bower install
Run Grunt server task:
$ grunt server
Application will be available at http://localhost:9000
Application is built with Grunt.
$ npm install -g grunt-cli $ grunt
angular-ui-dashboard AngularJS Dashboard directive.
ui-sortable AngularJS UI Sortable
jQuery UI Sortable jQuery UI Sortable plugin (reordering with drag and drop)
Bower Package manager for the web
Yeoman Webapp generator
DDP Meteor Distributed Data Protocol