The AngularJS implementation of the Scenario Comparison and Analysis and the Multi-Criteria-Analysis and Decision Support Functional Building Block.
Simply pull in the libraries and all the dependencies via bower
bower install --save worldstate-analysis-widgets
There is a number of directives that are useful for the different parts of the worldstate analysis. Currently the best way to get a grip on the usage, see the index.html
of this repo. Pull in and wire toghether the directives that you want to use in your application accordingly.
However, this will only work correctly if you provide info where to find the ICMM instance to use:
angular.module(
'myCoolModule'
).config(
[
'$provide',
function ($provide) {
'use strict';
$provide.constant('CRISMA_DOMAIN', 'CRISMA'); // the name of the CRISMA domain to use
$provide.constant('CRISMA_ICMM_API', 'http://url/to/the/icmm/api'); // the url to the API of the ICMM instance to use
}
}
]
);
Simply checkout the project and put the app folder in your favourite web server, or even more simple, use grunt to fire up a web server for you
grunt serve