angularjs-sdco-tools
Description
Angular library containing "transverse" components. The sdco-editor component is based on codemirror.
System Requirements
- node/npm
- global bower executable
Installation
Retrieve needed dependencies
- Use your existing bower project
- Or, initialize a new bower project : bower init
- Add the angular-sdco-tools dependency: bower --save install angular-sdco-tools
Include stylesheets and js files
Sure, the path depends the way you serve your files.
<link rel="stylesheet" href="styles/sdco-tools.css"> <!-- ONLY IF YOU NEED TO USE THE sdco-editor COMPONENT <link rel="stylesheet" href="codemirror/lib/codemirror.css"> <link rel="stylesheet" href="codemirror/theme/eclipse.css"> -->
<script type="text/javascript" src="angular/angular.js"></script> <script type="text/javascript" src="angular-bootstrap/ui-bootstrap-tpls.js"></script> <script type="text/javascript" src="angular-sanitize/angular-sanitize.js"></script> <script type="text/javascript" src="angular-route/angular-route.js"></script> <!-- ONLY IF YOU NEED TO USE THE sdco-editor COMPONENT <script type="text/javascript" src="codemirror/lib/codemirror.js"></script> <script type="text/javascript" src="codemirror/mode/javascript/javascript.js"></script> <script type="text/javascript" src="codemirror/mode/xml/xml.js"></script> <script type="text/javascript" src="codemirror/mode/css/css.js"></script> -->
API Documentation
Available here
Samples
Some samples